Whamcloud - gitweb
LU-14760 llite: restart clio for AIO if necessary 95/43995/6
authorLi Dongyang <dongyangli@ddn.com>
Mon, 14 Jun 2021 01:31:33 +0000 (11:31 +1000)
committerOleg Drokin <green@whamcloud.com>
Tue, 21 Mar 2023 23:12:32 +0000 (23:12 +0000)
commit6b1e747ad5bf029150aa9d7c3e46d5b7b7cff78e
treed960acf0076bf2c4b02fdafcd4a115cb69a09247
parent11d98791395eb60e67fd8e68f159352b75536dc7
LU-14760 llite: restart clio for AIO if necessary

If the clio needs to be restarted from where it left off,
do it for AIO as well, so we don't end up with short IO.
Limit thr number of retries to 1000, to avoid potential
issues if the loop is stuck forever.

Change-Id: Iccca31b032b01b940656864bfff22a821ff5061d
Signed-off-by: Li Dongyang <dongyangli@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/43995
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <pfarrell@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/llite/file.c