Whamcloud - gitweb
LU-13490 lustre: fix to make jobstats work for async ra 26/38426/4
authorWang Shilong <wshilong@ddn.com>
Thu, 30 Apr 2020 11:42:29 +0000 (19:42 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 14 May 2020 05:39:26 +0000 (05:39 +0000)
commitda8972322134ae5741e7176312fca1f980c0f69a
tree5bbc39980c0f99956c5436080b4aea3a9dbe26be
parent257c0debc71ed7c496d55547ad2ee88cd9d546a1
LU-13490 lustre: fix to make jobstats work for async ra

We use workqueue to triger async readahead, this will make
the problem that read jobstats are not accounted by real
IO, we could fix this by overwritting jobid which inited in
vvp_io_init().

Change-Id: I20b00b17f7a90cf94f1e5be54f47aee8ea2e5440
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Reviewed-on: https://review.whamcloud.com/38426
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Ben Evans <beevans@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_internal.h
lustre/llite/rw.c