diff options
| author | Christoph Hellwig <hch@lst.de> | 2026-06-25 15:58:35 +0200 |
|---|---|---|
| committer | Carlos Maiolino <cem@kernel.org> | 2026-07-01 12:29:50 +0200 |
| commit | 93e21ef2a819348fce899bd1bd1303979bba3f1d (patch) | |
| tree | 5b79443a267e0a2e16f71aa6f2fcfcc533056bb1 /tools/testing | |
| parent | b53177d418225b15d23b1817fac1b5c668e56c2f (diff) | |
| download | lwn-93e21ef2a819348fce899bd1bd1303979bba3f1d.tar.gz lwn-93e21ef2a819348fce899bd1bd1303979bba3f1d.zip | |
xfs: fix handling of synchronous errors in xfs_buf_submit
Synchronous readers and writers already run __xfs_buf_ioend from
xfs_buf_iowait after being woken through bp->b_iowait, so we
should not call it here, which can lead to double completions.
Fixes: 4b90de5bc0f5 ("xfs: reduce context switches for synchronous buffered I/O")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions
