Whamcloud - gitweb
LU-13835 llite: reuse same cl_dio_aio for one IO 42/39542/5
authorWang Shilong <wshilong@ddn.com>
Thu, 30 Jul 2020 15:09:44 +0000 (23:09 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 1 Sep 2020 03:43:16 +0000 (03:43 +0000)
commitdb6f203965d9173c3128c8d1c6188d2f63bc1b3e
treee5e5c08232e65d2408bc8f0badc8d65643adf9d9
parent701cc249594eae08f6e762eff74183e768c2cee3
LU-13835 llite: reuse same cl_dio_aio for one IO

IO might be restarted if layout changed, this might
cause ki_complete() called several times for one IO.

Fixes: d1dded6 ("LU-4198 clio: AIO support for direct IO")
Fixes: 84c3e85 ("LU-13697 llite: fix short io for AIO")
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: I791b8f9d82fae6822d38293ba22adf74560c9dce
Reviewed-on: https://review.whamcloud.com/39542
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Bobi Jam <bobijam@hotmail.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/file.c
lustre/llite/rw26.c