summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorAndrea Parri <parri.andrea@gmail.com>2026-09-28 10:48:07 +0200
committerChristian Brauner <brauner@kernel.org>2026-10-13 16:58:07 +0200
commit1c3fe56094dd23b3446b93247172980037229dc9 (patch)
tree7e4dd6346a666319d9616770c8fc7f248735dc54 /tools/lib/python/kdoc/python_version.py
parent3f517370076f1fedaa38cd8c78ceb73616b79336 (diff)
downloadlinux-next-1c3fe56094dd23b3446b93247172980037229dc9.tar.gz
linux-next-1c3fe56094dd23b3446b93247172980037229dc9.zip
xfs: add an error tag to inject a ->writeback_submit() failure
The only in-tree way for xfs_writeback_submit() to fail is a failing xfs_reflink_convert_cow(), which requires a shared (reflinked) CoW extent. There was previously no way to exercise that failure path from userspace, which made it hard to write an xfstest for it, e.g. for "iomap: don't resubmit an ioend after ->writeback_submit() failed". Add XFS_ERRTAG_WB_COW_CONVERT_ERROR to force xfs_reflink_convert_cow() to fail with -EIO, so that ->writeback_submit() failure and its callers' error handling can be exercised with error injection alone, without needing a corrupted or racy COW fork. Suggested-by: Christoph Hellwig <hch@infradead.org> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrea Parri <parri.andrea@gmail.com> Link: https://patch.msgid.link/6c05aee81af9264ce6c19a436bc3503ecdab1e45.1790342457.git.parri.andrea@gmail.com Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions