Whamcloud - gitweb
LU-7990 llite: increase whole-file readahead to RPC size 55/26955/3
authorAndreas Dilger <andreas.dilger@intel.com>
Wed, 4 May 2016 05:29:42 +0000 (23:29 -0600)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 24 Oct 2017 07:18:26 +0000 (07:18 +0000)
commit627d0133d9d7bef908544537a8a2b2093719fc72
tree3f44d5a47cee2593471a9e2ecae98f8768f2ba17
parent97671436c5284d955241b5bb9c79d415aec5792d
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.

Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I3bdb1c7f92c546d58951a9e6b783af23c83ebbe5
Reviewed-on: https://review.whamcloud.com/26955
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Patrick Farrell <paf@cray.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c