Whamcloud - gitweb
LU-14760 llite: restart clio for AIO if necessary
authorLi Dongyang <dongyangli@ddn.com>
Mon, 14 Jun 2021 01:31:33 +0000 (11:31 +1000)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 10 Mar 2023 19:50:29 +0000 (19:50 +0000)
commit46bb7c5a33e34ba168fa71698373dde81c327e56
treec5d836ffc92ba75ec313c731fb9d1fc90897b122
parentc2ec6642ae3220602866f049233b8c096b2e3ce8
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.

Lustre-change: https://review.whamcloud.com/43995
Lustre-commit: TBD (from cf20b7fffa211b5093a2d698df6162f5ddf575a4)

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