diff options
author | Damien Le Moal <damien.lemoal@wdc.com> | 2021-05-19 10:26:16 +0900 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2021-06-04 12:07:28 -0400 |
commit | bab68499428ed934f0493ac74197ed6f36204260 (patch) | |
tree | 278195754b009ed5b5a3c75cc40e3d6e63d0fe89 /drivers/md/dm-verity-target.c | |
parent | ccde2cbfa31c4d41818a493c1126df05336f8c5a (diff) |
dm zoned: check zone capacity
The dm-zoned target cannot support zoned block devices with zones that
have a capacity smaller than the zone size (e.g. NVMe zoned namespaces)
due to the current chunk zone mapping implementation as it is assumed
that zones and chunks have the same size with all blocks usable.
If a zoned drive is found to have zones with a capacity different from
the zone size, fail the target initialization.
Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Cc: stable@vger.kernel.org # v5.9+
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-verity-target.c')
0 files changed, 0 insertions, 0 deletions