diff options
author | Jens Axboe <[email protected]> | 2023-07-20 11:47:56 -0600 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-01 17:32:38 -0600 |
commit | daa99c5a3319e371029834092ee5f7c84bb43a70 (patch) | |
tree | d0209dd41eda06d49009bd4e0f15bca7875c2ae3 /rust/helpers.c | |
parent | 3a0be38cc84d05e86f1c7d5b601513f31d3b24fa (diff) |
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 <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Dave Chinner <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions