]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iomap: always run error completions in user context
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Nov 2025 17:06:27 +0000 (18:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:17 +0000 (14:03 +0100)
commit74c0c1af04ee6982b47237b1c12cff63ffb14460
tree2d6c5787989cbb1040d870572dbc1df82321e815
parentf8a794ea740ddbd110d323121d50fc9cb1b36c5b
iomap: always run error completions in user context

[ Upstream commit ddb4873286e03e193c5a3bebb5fc6fa820e9ee3a ]

At least zonefs expects error completions to be able to sleep.  Because
error completions aren't performance critical, just defer them to workqueue
context unconditionally.

Fixes: 8dcc1a9d90c1 ("fs: New zonefs file system")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://patch.msgid.link/20251113170633.1453259-3-hch@lst.de
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/iomap/direct-io.c