All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] introduce interface to list badblocks
@ 2020-06-19 12:37 yangerkun
  2020-06-19 12:38 ` [PATCH v3 1/4] dm dust: report some message results back to user directly yangerkun
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: yangerkun @ 2020-06-19 12:37 UTC (permalink / raw)
  To: snitzer, bgurney, agk, bmr; +Cc: dm-devel, yangerkun

Since .message support report results to user directly. We can change
some type of message(queryblock/countbadblocks/removebadblock) to return
results to user.

Besides, we add a interface 'listbadblocks' to list all bad block. If
no bad block exists, we will return 'null', or we will list them multi
line which each line means one bad block.

v2->v3:
Realize this logical in .message, change logical for some type message to
report results to user too.

yangerkun (4):
  dm dust: report some message results back to user directly
  dm dust: update doc after message results report to user directly
  dm dust: add interface to list all badblocks
  dm dust: introduce listbadblocks in the rst

 .../admin-guide/device-mapper/dm-dust.rst     | 31 +++++++---
 drivers/md/dm-dust.c                          | 58 ++++++++++++++-----
 2 files changed, 69 insertions(+), 20 deletions(-)

-- 
2.25.4

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

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

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-19 12:37 [PATCH v3 0/4] introduce interface to list badblocks yangerkun
2020-06-19 12:38 ` [PATCH v3 1/4] dm dust: report some message results back to user directly yangerkun
2020-06-19 15:40   ` Bryan Gurney
2020-06-19 15:44     ` Mike Snitzer
2020-06-19 17:23       ` Bryan Gurney
2020-06-19 17:29         ` Mike Snitzer
2020-06-19 17:43           ` Bryan Gurney
2020-06-19 18:21             ` Bryan Gurney
2020-06-19 12:38 ` [PATCH v3 2/4] dm dust: update doc after message results report " yangerkun
2020-06-19 15:50   ` Bryan Gurney
2020-06-19 12:38 ` [PATCH v3 3/4] dm dust: add interface to list all badblocks yangerkun
2020-06-19 15:56   ` Bryan Gurney
2020-06-19 12:38 ` [PATCH v3 4/4] dm dust: introduce listbadblocks in the rst yangerkun
2020-06-19 17:50   ` Bryan Gurney

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.