Whamcloud - gitweb
LU-10777 dom: disable read-on-open with resend 12/34912/3
authorMikhail Pershin <mpershin@whamcloud.com>
Mon, 22 Apr 2019 18:18:01 +0000 (21:18 +0300)
committerOleg Drokin <green@whamcloud.com>
Sat, 8 Jun 2019 02:37:10 +0000 (02:37 +0000)
commitbfe06da80e8cb75667d0a58a8e81043a09868112
tree1eff65afef78c0122867caf88deadcc51b243f70
parentc628bc742747e739dddf8ec0a24329da01e97c8a
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.

Lustre-change: https://review.whamcloud.com/34700
Lustre-commit: e0adb618a4b0d0182419a5731fe046e9157b9f51

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