diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-01-07 08:22:12 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-01-08 16:34:24 +0100 |
commit | 587371ed783b046f22ba7a5e1cc9a19ae35123b4 (patch) | |
tree | 3c6881f673e08181d5c0de12f449837ca80c6393 /drivers/scsi/mpt3sas/mpt3sas_base.h | |
parent | block: remove disk_clear_zoned (diff) | |
download | linux-587371ed783b046f22ba7a5e1cc9a19ae35123b4.tar.xz linux-587371ed783b046f22ba7a5e1cc9a19ae35123b4.zip |
block: Treat sequential write preferred zone type as invalid
With the removal of the support for host-aware zoned devices,
blk_revalidate_zone_cb() should never see the zone type
BLK_ZONE_TYPE_SEQWRITE_PREF (sequential write preffered zones). Treat
this zone type as being invalid.
Fixes: 7437bb73f087 ("block: remove support for the host aware zone model")
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240107072212.1071080-1-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/scsi/mpt3sas/mpt3sas_base.h')
0 files changed, 0 insertions, 0 deletions