diff options
| author | Mike Christie <[email protected]> | 2016-06-05 19:31:42 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2016-06-07 19:41:38 +0000 |
| commit | f21508211d2b16e65821abd171378fa6ece126fe (patch) | |
| tree | 4b85b32a065cf6c28ccd2ad1a2960ec6f4b67634 /fs/jbd2/commit.c | |
| parent | block/fs/drivers: remove rw argument from submit_bio (diff) | |
| download | kernel-f21508211d2b16e65821abd171378fa6ece126fe.tar.gz kernel-f21508211d2b16e65821abd171378fa6ece126fe.zip | |
block: add REQ_OP definitions and helpers
The following patches separate the operation (WRITE, READ, DISCARD,
etc) from the rq_flag_bits flags. This patch adds definitions for
request/bio operations (REQ_OPs) and adds request/bio accessors to
get/set the op.
In this patch the REQ_OPs match the REQ rq_flag_bits ones
for compat reasons while all the code is converted to use the
op accessors in the set. In the last patches the op will become a
number and the accessors and helpers in this patch will be dropped
or updated.
Signed-off-by: Mike Christie <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
