diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2021-02-12 18:41:17 +0000 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-02-12 11:49:50 -0700 |
commit | 5be9ad1e4287e1742fd8d253267c86446441bdaf (patch) | |
tree | 632d27015921ea6a3fba0b983acbcba13eab9bf7 /tools/testing | |
parent | cdbff98223330cdb6c57ead1533ce066dddd61b7 (diff) |
io_uring: optimise io_init_req() flags setting
Invalid req->flags are tolerated by free/put well, avoid this dancing
needlessly presetting it to zero, and then not even resetting but
modifying it, i.e. "|=".
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions