Whamcloud - gitweb
LU-10777 dom: disable read-on-open with resend 00/34700/4
authorMikhail Pershin <mpershin@whamcloud.com>
Mon, 22 Apr 2019 18:18:01 +0000 (21:18 +0300)
committerOleg Drokin <green@whamcloud.com>
Tue, 30 Apr 2019 03:35:47 +0000 (03:35 +0000)
commite0adb618a4b0d0182419a5731fe046e9157b9f51
tree8eaa87aa55dcecfe2e6e93ee9d5de1ed4071e9b4
parentc59cf862c3c06758c270564dd6e8948e167316b9
LU-10777 dom: disable read-on-open with resend

The read-on-open can fill more data on reply buffer than
client allocated, this causes buffer re-allocation followed
by resend. Meanwhile FIO read test shows that such resends
perform worse than separate READ RPC. For example:
FIO 8k read is ~50% better without buffer re-allocation
with resend. Considering that there is parameter on MDC
'mdc_dom_min_repsize' to control read-on-open inline buffer
size, there is no sense to keep 'reallocation+resend'
option on MDT. Patch removes it.

Signed-off-by: Mikhail Pershin <mpershin@whamcloud.com>
Change-Id: I7eb9d64f5551789e93b1f7676f61c0e7a5149f76
Reviewed-on: https://review.whamcloud.com/34700
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdt/mdt_io.c
lustre/tests/sanity.sh