On Mon, Mar 18, 2024 at 10:00:24PM +0000, Pavel Begunkov wrote: > io_uring cmd converts struct io_tw_state to issue_flags and later back > to io_tw_state, it's awfully ill-fated, not to mention that intermediate > issue_flags state is not correct. > > Get rid of the last conversion, drag through tw everything that came > with IO_URING_F_UNLOCKED, and replace io_req_complete_defer() with a > direct call to io_req_complete_defer(), at least for the time being. > > Signed-off-by: Pavel Begunkov <asml.silence@xxxxxxxxx> Reviewed-by: Ming Lei <ming.lei@xxxxxxxxxx> Thanks, Ming