diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2017-04-24 16:51:15 +0900 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-04-25 13:00:58 -0400 |
commit | 868ed5a5b73f7cc18432ffe6e8d8addd395e91a1 (patch) | |
tree | c0af5e998f376ef5d89efd8fccb2c159bab1ac1b /drivers/scsi/fdomain.c | |
parent | f70532406aa4193e484b1e3c4d7d613f39257a44 (diff) |
scsi: sd_zbc: Do not write lock zones for reset
Resetting a zone write pointer is equivalent to discarding sectors:
after a reset, the zone sectors will contain zeros (or the format
pattern). So there is no need for mutual exclusion between a zone reset
and write. Similarly to discard, make it the responsability of the user
to properly synchronize between reset and write (as is done now for
discard and write).
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fdomain.c')
0 files changed, 0 insertions, 0 deletions