summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm.c
diff options
context:
space:
mode:
authorShin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>2020-06-18 11:48:10 +0900
committerMike Snitzer <snitzer@redhat.com>2020-06-19 12:21:57 -0400
commitb38c0ad57f8e7810f2d994f49dab4ccb129cf31c (patch)
treefb3e764a413265b22dcd768e71224d7973de6a7b /drivers/md/dm.c
parente0034433a7e4f1d74e86fe801f7c017b48f81315 (diff)
downloadlinux-b38c0ad57f8e7810f2d994f49dab4ccb129cf31c.tar.bz2
dm zoned: Fix metadata zone size check
When dm zoned has multiple devices, metadata is on the cache device, not in random zones of the zoned devices. Then the number of metadata zones shall be checked with the number of cache zones, not random zones. Fixes: 34f5affd04c4 ("dm zoned: separate random and cache zones") Signed-off-by: Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com> Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm.c')
0 files changed, 0 insertions, 0 deletions