Whamcloud - gitweb
LU-14778 readahead: fix to reserve min pages
authorWang Shilong <wshilong@ddn.com>
Tue, 22 Jun 2021 01:26:40 +0000 (09:26 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 18 Jul 2021 06:31:23 +0000 (06:31 +0000)
commit0e5a4d60bde6e0008b2c20ec639e0043cd29f0b3
treecc705f7fe6d733eba994de68a2f7c4a251238915
parente66332b6ad03e1792daf0119e6b8cf8152030b4f
LU-14778 readahead: fix to reserve min pages

@pages_min might be larger than @pages which indicate
more pages should be read, and it will cause a warning
later.

Lustre-change: https://review.whamcloud.com/44050
Lustre-commit: 4fc127428f00d6a3b179a143a61ddc78e5d8ca7c

Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Ifd82f709c3877172f08b87ab0551da735a0613e0
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-on: https://review.whamcloud.com/44287
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/rw.c