Whamcloud - gitweb
LU-14616 readahead: export pages directly without RA 38/43338/3
authorWang Shilong <wshilong@ddn.com>
Fri, 16 Apr 2021 02:04:17 +0000 (10:04 +0800)
committerOleg Drokin <green@whamcloud.com>
Wed, 5 May 2021 02:50:44 +0000 (02:50 +0000)
commit9f1c0bfd10d619a3755c3b22b1dd95a593720ce9
tree4010cb9f233e1ed37b2ff2659b468605f5c0accd
parentccb64cde7fd890a5143a44c9abe9262e2cb8b201
LU-14616 readahead: export pages directly without RA

With Readahead disabled, @vpg_defer_uptodate should not
be set as we don't reserve credits for such read.
In vvp_page_completion_read() we will call ll_ra_count_put()
which makes @ra_cur_pages negative.

Fixes: 7e8efb339b ("LU-12043 llite: fix to submit complete read block with ra disabled")
Change-Id: I1c9134f5972aa0d0e7aac998f02c690cc55b433b
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/43338
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/rw.c