diff options
| author | Pavel Begunkov <[email protected]> | 2020-01-18 20:22:41 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-01-20 17:04:07 -0700 |
| commit | 6b47ee6ecab142f938a40bf3b297abac74218ee2 (patch) | |
| tree | 5e64b3964c2651b7e52868409b93870fae8894f9 /Documentation/filesystems | |
| parent | 87987898a1dbc69b1138f7c10eb9abd655c03396 (diff) | |
io_uring: optimise sqe-to-req flags translation
For each IOSQE_* flag there is a corresponding REQ_F_* flag. And there
is a repetitive pattern of their translation:
e.g. if (sqe->flags & SQE_FLAG*) req->flags |= REQ_F_FLAG*
Use same numeric values/bits for them and copy instead of manual
handling.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'Documentation/filesystems')
0 files changed, 0 insertions, 0 deletions