diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2020-05-12 10:55:48 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-13 04:36:28 +0200 |
commit | 1392d37018d4f68c5bb2c98dae9a018b73926865 (patch) | |
tree | 9bd4b688838406c57655576a41fbad66ab121598 /drivers/block/null_blk_zoned.c | |
parent | block: Introduce REQ_OP_ZONE_APPEND (diff) | |
download | linux-1392d37018d4f68c5bb2c98dae9a018b73926865.tar.xz linux-1392d37018d4f68c5bb2c98dae9a018b73926865.zip |
block: introduce blk_req_zone_write_trylock
Introduce blk_req_zone_write_trylock(), which either grabs the write-lock
for a sequential zone or returns false, if the zone is already locked.
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/null_blk_zoned.c')
0 files changed, 0 insertions, 0 deletions