summaryrefslogtreecommitdiff
path: root/block/bio.c
diff options
context:
space:
mode:
authorDamien Le Moal <damien.lemoal@wdc.com>2020-05-12 11:55:52 +0300
committerJens Axboe <axboe@kernel.dk>2020-05-13 05:36:28 +0300
commite0489ed5daeb48cf182c4c98da4a873f947f2afa (patch)
tree65290206a08dc6949e1d4ec551fbc7f086fde0a7 /block/bio.c
parent5795eb443060148796beeba106e4366d7f1458a6 (diff)
downloadlinux-e0489ed5daeb48cf182c4c98da4a873f947f2afa.tar.xz
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