io_uring: better to use REQ_F_IO_DRAIN for req->flags
authorHao Xu <haoxu@linux.alibaba.com>
Thu, 25 Nov 2021 09:21:03 +0000 (17:21 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 25 Nov 2021 16:00:42 +0000 (09:00 -0700)
commitb6c7db32183251204f124b10d6177d46558ca7b8
treed9ac9da8a915a2659d4fd7be594355ea3520dd9e
parente302f1046f4c209291b07ff7bc4d15ca26891f16
io_uring: better to use REQ_F_IO_DRAIN for req->flags

It's better to use REQ_F_IO_DRAIN for req->flags rather than
IOSQE_IO_DRAIN though they have same value.

Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20211125092103.224502-3-haoxu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c