Skip to content

introduce interface to list badblocks

yangerkun dm-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 9 repliesIn review
  2. v22 patches 2 repliesSuperseded
  3. v12 patches 4 repliesSuperseded

Changes in v3 from the cover letter

Realize this logical in .message, change logical for some type message to report results to user too.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4dm dust: report some message results back to user directlydrivers/md/dm-dust.c+18 -136 replies
2/4dm dust: update doc after message results report to user directlyDocumentation/admin-guide/device-mapper/dm-dust.rst+8 -71 reply
3/4dm dust: add interface to list all badblocksdrivers/md/dm-dust.c+27 -01 reply
4/4dm dust: introduce listbadblocks in the rstDocumentation/admin-guide/device-mapper/dm-dust.rst+16 -01 reply

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchBryan Gurney
1/4
2/4R-b
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] introduce interface to list badblocks

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(-)
Signature · 1 line
2.25.4