mbox series

[v2,0/2] introduce interface to list all badblocks

Message ID 20200618090620.3517530-1-yangerkun@huawei.com (mailing list archive)
Headers show
Series introduce interface to list all badblocks | expand

Message

yangerkun June 18, 2020, 9:06 a.m. UTC
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(+)