summaryrefslogtreecommitdiff
path: root/lib/crc32defs.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-01-25 09:08:54 +0300
committerJens Axboe <axboe@kernel.dk>2020-01-28 01:36:29 +0300
commit980ad26304abf11e78caaa68023411b9c088b848 (patch)
tree1a89d63d7906abb3d9313fa1becd40d8329a071f /lib/crc32defs.h
parent86a761f81ec87a96572214f5db606f60d36aaf08 (diff)
downloadlinux-980ad26304abf11e78caaa68023411b9c088b848.tar.xz
io_uring: don't attempt to copy iovec for READ/WRITE
For the non-vectored variant of READV/WRITEV, we don't need to setup an async io context, and we flag that appropriately in the io_op_defs array. However, in fixing this for the 5.5 kernel in commit 74566df3a71c we didn't have these opcodes, so the check there was added just for the READ_FIXED and WRITE_FIXED opcodes. Replace that check with just a single check for needing async context, that covers all four of these read/write variants that don't use an iovec. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/crc32defs.h')
0 files changed, 0 insertions, 0 deletions