Whamcloud - gitweb
LU-7990 llite: increase whole-file readahead to RPC size 38/29738/2
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 4 May 2016 05:29:42 +0000 (23:29 -0600)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 26 Oct 2017 16:09:27 +0000 (16:09 +0000)
commit5c1877c4143bddcd3c5c4f2397db5622c2116fce
treeb73c1fda436c648f41baf9b4b71cecf303e4c5ba
parentc27470755cf40ee33056011883a0d0600ce00340
LU-7990 llite: increase whole-file readahead to RPC size

Increase the default whole-file readahead limit to match the current
RPC size.  That ensures that files smaller than the RPC size will be
read in a single round-trip instead of sending multiple smaller RPCs.

Lustre-change: https://review.whamcloud.com/26955
Lustre-commit: 627d0133d9d7bef908544537a8a2b2093719fc72

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I3bdb1c7f92c546d58951a9e6b783af23c83ebbe5
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/29738
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/llite/llite_lib.c