summaryrefslogtreecommitdiff
path: root/net/ethtool
diff options
context:
space:
mode:
authorJack Qiu <jack.qiu@huawei.com>2021-04-09 23:27:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-04-14 09:41:58 +0300
commit3a675c1b507f8ebea09b516674140ea69303c720 (patch)
treef9b7e682042e4bf1d64bfc77869eaa709009f998 /net/ethtool
parentb1a5122554ae905b2d92e9f39f86725730796c03 (diff)
downloadlinux-3a675c1b507f8ebea09b516674140ea69303c720.tar.xz
fs: direct-io: fix missing sdio->boundary
commit df41872b68601059dd4a84858952dcae58acd331 upstream. 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/20210322042253.38312-1-jack.qiu@huawei.com Fixes: b1058b981272 ("direct-io: submit bio after boundary buffer is added to it") Signed-off-by: Jack Qiu <jack.qiu@huawei.com> Reviewed-by: Jan Kara <jack@suse.cz> Cc: <stable@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ethtool')
0 files changed, 0 insertions, 0 deletions