This patchset will list badblocks while we do 'dmsetup status'. Image that we have mark block 1 and 2 as bad block, run following command will list all bad blocks: $ sudo dmsetup status dust1 0 33552384 dust 252:17 bypass verbose badblocks list: 1 2 v1->v2: Realize this logical in dust_status instead dust_message since the result can return to user directly. yangerkun (2): dm dust: list badblock in dust_status dm dust: introduce list badblocks in the rst .../admin-guide/device-mapper/dm-dust.rst | 14 +++++++++++ drivers/md/dm-dust.c | 25 +++++++++++++++++++ 2 files changed, 39 insertions(+) -- 2.25.4 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel