Whamcloud - gitweb
LU-12043 llite, readahead: fix to call ll_ras_enter() properly 55/34755/2
authorWang Shilong <wshilong@ddn.com>
Wed, 24 Apr 2019 15:13:29 +0000 (23:13 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 4 May 2019 05:57:31 +0000 (05:57 +0000)
commit500edcada7e4101a21a28078611597fdb50b4791
tree994a12b47291368a77ad87a4e05039580a002de5
parent2a4821b836c82764ff13dbf32ba2386c9d3dca8e
LU-12043 llite, readahead: fix to call ll_ras_enter() properly

ll_ras_enter() is expected to be called per syscall.
However, with fast read enabled, it will be no longer true that
We will call vvp_io_read_start() for every syscall.

To fix this problem, we should move this to file read handler.

Change-Id: I8d70714b2e8bc04b7c4ab996d189f10f37488d97
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/34755
Tested-by: Jenkins
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Reviewed-by: Jinshan Xiong <jinshan.xiong@gmail.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/llite/vvp_io.c