diff options
author | Bart Van Assche <bvanassche@acm.org> | 2023-05-17 10:42:22 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-05-18 19:47:49 -0600 |
commit | a370798201b537f78288e4ef5e0f7fc70889e7ee (patch) | |
tree | 0e6761094531b9773066dc1c6d310ed61e1e57dc /block/blk-zoned.c | |
parent | 3ddbe2a7e0d4a155a805f69c906c9beed30d4cc4 (diff) |
block: Introduce op_needs_zoned_write_locking()
Introduce a helper function for checking whether write serialization is
required if the operation will be sent to a zoned device. A second caller
for op_needs_zoned_write_locking() will be introduced in the next patch
in this series.
Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Damien Le Moal <dlemoal@kernel.org>
Cc: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230517174230.897144-5-bvanassche@acm.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-zoned.c')
0 files changed, 0 insertions, 0 deletions