summaryrefslogtreecommitdiffstats
path: root/lib/test_bits.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-10-17 00:07:09 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-19 05:49:56 -0600
commit35645ac3c1853fbb54d8acd50fd12184f7905d5f (patch)
tree7a4d7864b9c7e49d6312f6b0a4053973e5d80e1a /lib/test_bits.c
parente74ead135bc4459f7d40b1f8edab1333a28b54e8 (diff)
downloadlinux-35645ac3c1853fbb54d8acd50fd12184f7905d5f.tar.bz2
io_uring: combine REQ_F_NOWAIT_{READ,WRITE} flags
Merge REQ_F_NOWAIT_READ and REQ_F_NOWAIT_WRITE into one flag, i.e. REQ_F_SUPPORT_NOWAIT. First it gets rid of dependence on CONFIG_64BIT but also simplifies the code. One thing to consider is when we don't have ->{read,write}_iter and go through loop_rw_iter(). Just fail it with -EAGAIN if we expect nowait behaviour but not sure whether it supports it. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/f832a20e5186c2e79c6519280c238f559a1d2bbc.1634425438.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/test_bits.c')
0 files changed, 0 insertions, 0 deletions