diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-07-20 19:47:56 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-08-02 01:32:38 +0200 |
commit | daa99c5a3319e371029834092ee5f7c84bb43a70 (patch) | |
tree | d0209dd41eda06d49009bd4e0f15bca7875c2ae3 /fs/ioctl.c | |
parent | iomap: treat a write through cache the same as FUA (diff) | |
download | linux-daa99c5a3319e371029834092ee5f7c84bb43a70.tar.xz linux-daa99c5a3319e371029834092ee5f7c84bb43a70.zip |
iomap: only set iocb->private for polled bio
iocb->private is only used for polled IO, where the completer will
find the bio to poll through that field.
Assign it when we're submitting a polled bio, and get rid of the
dio->poll_bio indirection.
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/ioctl.c')
0 files changed, 0 insertions, 0 deletions