]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: implement REQ_OP_ZONE_RESET_ALL
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 1 Aug 2019 17:26:37 +0000 (10:26 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Aug 2019 03:41:29 +0000 (21:41 -0600)
commit3f9ff0a1884dc21e49809c67510df89080a7c093
tree63861964166a70fc6698aa77bf65fb0cdc4ed70b
parentd021f39e2d67484cc6cd96748f055fcad070ac05
scsi: implement REQ_OP_ZONE_RESET_ALL

This patch implements the zone reset all operation for sd_zbc.c. We add
a new boolean parameter for the sd_zbc_setup_reset_cmd() to indicate
REQ_OP_ZONE_RESET_ALL command setup. Along with that we add support in
the completion path for the zone reset all.

Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/scsi/sd.c
drivers/scsi/sd.h
drivers/scsi/sd_zbc.c