[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251117143259.05d36122@canb.auug.org.au>
Date: Mon, 17 Nov 2025 14:32:59 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Jens Axboe <axboe@...nel.dk>, Christian Brauner <brauner@...nel.org>
Cc: Caleb Sander Mateos <csander@...estorage.com>, Christoph Hellwig
<hch@....de>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: linux-next: manual merge of the block tree with the vfs-brauner
tree
Hi all,
Today's linux-next merge of the block tree got a conflict in:
io_uring/rw.c
between commit:
56749ed317e2 ("fs, iomap: remove IOCB_DIO_CALLER_COMP")
from the vfs-brauner tree and commit:
c33e779aba68 ("io_uring: add wrapper type for io_req_tw_func_t arg")
from the block tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc io_uring/rw.c
index 6310a3d08409,a7b568c3dfe8..000000000000
--- a/io_uring/rw.c
+++ b/io_uring/rw.c
@@@ -566,8 -567,18 +566,10 @@@ static inline int io_fixup_rw_res(struc
return res;
}
- void io_req_rw_complete(struct io_kiocb *req, io_tw_token_t tw)
+ void io_req_rw_complete(struct io_tw_req tw_req, io_tw_token_t tw)
{
+ struct io_kiocb *req = tw_req.req;
- struct io_rw *rw = io_kiocb_to_cmd(req, struct io_rw);
- struct kiocb *kiocb = &rw->kiocb;
-
- if ((kiocb->ki_flags & IOCB_DIO_CALLER_COMP) && kiocb->dio_complete) {
- long res = kiocb->dio_complete(rw->kiocb.private);
-
- io_req_set_res(req, io_fixup_rw_res(req, res), 0);
- }
+
io_req_io_end(req);
if (req->flags & (REQ_F_BUFFER_SELECTED|REQ_F_BUFFER_RING))
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists