diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2020-05-12 10:55:52 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-05-13 04:36:28 +0200 |
commit | e0489ed5daeb48cf182c4c98da4a873f947f2afa (patch) | |
tree | 65290206a08dc6949e1d4ec551fbc7f086fde0a7 /block/bio.c | |
parent | scsi: sd_zbc: emulate ZONE_APPEND commands (diff) | |
download | linux-e0489ed5daeb48cf182c4c98da4a873f947f2afa.tar.xz linux-e0489ed5daeb48cf182c4c98da4a873f947f2afa.zip |
null_blk: Support REQ_OP_ZONE_APPEND
Support REQ_OP_ZONE_APPEND requests for null_blk devices with zoned
mode enabled. Use the internally tracked zone write pointer position
as the actual write position and return it using the command request
__sector field in the case of an mq device and using the command BIO
sector in the case of a BIO device.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bio.c')
0 files changed, 0 insertions, 0 deletions