Whamcloud - gitweb
LU-12520 osc: reserve lru pages for read in batch 40/35440/4
authorWang Shilong <wshilong@ddn.com>
Mon, 5 Aug 2019 02:10:09 +0000 (10:10 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 15 Aug 2019 07:54:18 +0000 (07:54 +0000)
commit0692dadfba87b963f1209defff81be7e6196c38e
tree24ef6df28a71e040ef97ce64368727201168864c
parent654cbf3c9d4daa7def0ba52b45b2b8ead39fcf90
LU-12520 osc: reserve lru pages for read in batch

The benefit of doing this is to reduce contention
against atomic counter cl_lru_left by changing it from
per-page access to per-IO access.

We have done this optimization for write, do it for read
too.

Change-Id: Ifd15d0a59eda265dce43876d953e32f27b07b6a0
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/35440
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_osc.h
lustre/mdc/mdc_dev.c
lustre/osc/osc_io.c