io_uring/bundle: disable IOSQE_IO_DRAIN on bundle requests io_uring-bundle
authorJens Axboe <axboe@kernel.dk>
Tue, 22 Nov 2022 22:25:24 +0000 (15:25 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Jan 2023 20:45:32 +0000 (13:45 -0700)
commit6309487285f29f66a7a75c1dae95b7f2fd26813c
tree588b3ab7bd36e7123815ac29eb8bd0f46c641708
parent9b51fcb1ff748ec4dc146c94f6354651cdd40b15
io_uring/bundle: disable IOSQE_IO_DRAIN on bundle requests

We could support this and prep bundle members early, but let's just
disallow drain with bundles. It is expected that most users of bundles
would use IOSQE_CQE_SKIP_SUCCESS as part of the bundle, and that doesn't
work with IOSQE_IO_DRAIN anyway as it's explicitly disallowed.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/bundle.c