diff options
author | Damien Le Moal <[email protected]> | 2021-05-26 06:24:52 +0900 |
---|---|---|
committer | Mike Snitzer <[email protected]> | 2021-06-04 12:07:35 -0400 |
commit | d0ea6bde141df9311bc36e7b07ad37b449f2c4f5 (patch) | |
tree | 16c7e97b17b31aeefa7032ad4148cb3fd9c4dedb /lib/mpi/mpi-sub-ui.c | |
parent | 1ee533eca70bb8867ad1e6f5ef8a86c8897d67d7 (diff) |
block: introduce bio zone helpers
Introduce the helper functions bio_zone_no() and bio_zone_is_seq().
Both are the BIO counterparts of the request helpers blk_rq_zone_no()
and blk_rq_zone_is_seq(), respectively returning the number of the
target zone of a bio and true if the BIO target zone is sequential.
Signed-off-by: Damien Le Moal <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Himanshu Madhani <[email protected]>
Acked-by: Jens Axboe <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions