Skip to content
Unverified Commit 2d1b3bbc authored by Jens Axboe's avatar Jens Axboe Committed by Christian Brauner
Browse files

ovl: disable IOCB_DIO_CALLER_COMP



overlayfs copies the kiocb flags when it sets up a new kiocb to handle
a write, but it doesn't properly support dealing with the deferred
caller completions of the kiocb. This means it doesn't get the final
write completion value, and hence will complete the write with '0' as
the result.

We could support the caller completions in overlayfs, but for now let's
just disable them in the generated write kiocb.

Reported-by: default avatarZorro Lang <zlang@redhat.com>
Link: https://lore.kernel.org/io-uring/20230924142754.ejwsjen5pvyc32l4@dell-per750-06-vm-08.rhts.eng.pek2.redhat.com/


Fixes: 8c052fb3 ("iomap: support IOCB_DIO_CALLER_COMP")
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Message-Id: <71897125-e570-46ce-946a-d4729725e28f@kernel.dk>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent 060e6c7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment