All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] introduce interface to list all badblocks
@ 2020-06-18  9:06 yangerkun
  2020-06-18  9:06 ` [PATCH v2 1/2] dm dust: list badblock in dust_status yangerkun
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: yangerkun @ 2020-06-18  9:06 UTC (permalink / raw)
  To: snitzer, bgurney, agk, bmr; +Cc: dm-devel, yangerkun


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-06-19  1:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-18  9:06 [PATCH v2 0/2] introduce interface to list all badblocks yangerkun
2020-06-18  9:06 ` [PATCH v2 1/2] dm dust: list badblock in dust_status yangerkun
2020-06-18  9:06 ` [PATCH v2 2/2] dm dust: introduce list badblocks in the rst yangerkun
2020-06-18 15:40 ` [PATCH v2 0/2] introduce interface to list all badblocks Mike Snitzer
2020-06-19  1:07   ` yangerkun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.