Whamcloud - gitweb
LU-14778 readahead: fix to reserve min pages 50/44050/3
authorWang Shilong <wshilong@ddn.com>
Tue, 22 Jun 2021 01:26:40 +0000 (09:26 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 8 Jul 2021 02:07:22 +0000 (02:07 +0000)
commit4fc127428f00d6a3b179a143a61ddc78e5d8ca7c
tree2146daf7a6d783279c1d2bc70627d316d3abb105
parent791f656a031f710ce21674b508ce8b331783a5b7
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.

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