[dm-devel] [PATCH 0/2] introduce interface to list all badblocks

Alasdair G Kergon agk at redhat.com
Mon Jun 15 17:03:31 UTC 2020


On Mon, Jun 08, 2020 at 04:45:11PM +0800, yangerkun wrote:
>     $ sudo dmsetup message dust1 0 listbadblocks
> The following message will appear, listing one bad block number per

Did you consider returning the data directly to the caller so it
can be accessed directly?

(e.g. like @stats_list handled in dm-stats.c)

Alasdair




More information about the dm-devel mailing list