aboutsummaryrefslogtreecommitdiffstats
path: root/block/bio.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-05-12 17:55:52 +0900
committerJens Axboe <axboe@kernel.dk>2020-05-12 20:36:28 -0600
commite0489ed5daeb48cf182c4c98da4a873f947f2afa (patch)
tree65290206a08dc6949e1d4ec551fbc7f086fde0a7 /block/bio.c
parentscsi: sd_zbc: emulate ZONE_APPEND commands (diff)
downloadlinux-dev-e0489ed5daeb48cf182c4c98da4a873f947f2afa.tar.xz
linux-dev-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