commit | ed44fd7fd8a6785b73cfc6d44594c434e578d724 | [log] [tgz] |
---|---|---|
author | Damien Le Moal <damien.lemoal@wdc.com> | Mon May 08 15:48:19 2017 +0900 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Thu May 11 23:11:49 2017 -0400 |
tree | 189581b28758c7b9ce23e3b6caf038f8d7478c1b | |
parent | 29f6ca6916e29fc46f1418885374d9ed50430687 [diff] |
scsi: sd: Write lock zone for REQ_OP_WRITE_ZEROES For a zoned block device, sd_zbc_complete() handles zone write unlock on completion of a REQ_OP_WRITE_ZEROES command but the zone write locking is missing from sd_setup_write_zeroes_cmnd(). This patch fixes this problem by locking the target zone of a REQ_OP_WRITE_ZEROES request. Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>