diff options
author | Jack Qiu <[email protected]> | 2021-04-09 13:27:35 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-04-09 14:54:23 -0700 |
commit | df41872b68601059dd4a84858952dcae58acd331 (patch) | |
tree | 3dcf37942a7c52b11f79e0bf7b81264bc9f367f6 /tools/perf/scripts/python | |
parent | 7ad1e366167837daeb93d0bacb57dee820b0b898 (diff) |
fs: direct-io: fix missing sdio->boundary
I encountered a hung task issue, but not a performance one. I run DIO
on a device (need lba continuous, for example open channel ssd), maybe
hungtask in below case:
DIO: Checkpoint:
get addr A(at boundary), merge into BIO,
no submit because boundary missing
flush dirty data(get addr A+1), wait IO(A+1)
writeback timeout, because DIO(A) didn't submit
get addr A+2 fail, because checkpoint is doing
dio_send_cur_page() may clear sdio->boundary, so prevent it from missing
a boundary.
Link: https://lkml.kernel.org/r/[email protected]
Fixes: b1058b981272 ("direct-io: submit bio after boundary buffer is added to it")
Signed-off-by: Jack Qiu <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions