On 9/15/21 5:03 AM, Pavel Begunkov wrote: > IOSQE_IO_DRAIN is quite marginal and we don't care too much about > IOSQE_BUFFER_SELECT. Save to ifs and hide both of them under > SQE_VALID_FLAGS check. Now we first check whether it uses a "safe" > subset, i.e. without DRAIN and BUFFER_SELECT, and only if it's not > true we test the rest of the flags. Applied, thanks. -- Jens Axboe