[LU-14760] short read when aio cross stripe Created: 14/Jun/21  Updated: 31/Mar/23  Resolved: 21/Mar/23

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Dongyang Li Assignee: Dongyang Li
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
Rank (Obsolete): 9223372036854775807

 Description   

short read could happen for aio when:

we are reading cross the stripe

layout lock got cancelled on client before we continue to next stripe in cl_io_loop()

vvp_io_read_start()->can_populate_pages() sees the layout has changed, marks the io needs to be restarted.

ll_file_io_generic failed to restart io as the return code from cl_io_loop() is EIOCBQUEUED.



 Comments   
Comment by Gerrit Updater [ 14/Jun/21 ]

Li Dongyang (dongyangli@ddn.com) uploaded a new patch: https://review.whamcloud.com/43995
Subject: LU-14760 llite: restart clio for AIO if necessary
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4da605f614a343f67527296f39997101e5436a35

Comment by Gerrit Updater [ 21/Mar/23 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/43995/
Subject: LU-14760 llite: restart clio for AIO if necessary
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 6b1e747ad5bf029150aa9d7c3e46d5b7b7cff78e

Comment by Peter Jones [ 21/Mar/23 ]

Landed for 2.16

Generated at Sat Feb 10 03:12:32 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.