On 12/22/25 12:57 PM, Nuno Gonçalves wrote:
I know nothing about DM, but the issue happens when doing a ioctl
DM_TABLE_STATUS with params:

What do you mean by params? Status should not need any special params on input.

Anyway, dm-verity in 6.19 now reports also number of error-corrected blocks in 
status line.
If FEC is not used, it contains "-", for example

# dmsetup status test
0 417792 verity V -

1 /dev/loop0 /dev/loop0 4096 4096 9 9 sha256
48048ef2c63d1c69a817508db0d3ff387ce33b10ec8fd0972bd29268836014a0
46c92f189b2036f93ec5805fb956adc134f8c17513bb51502f5cf92cf64fefe7

And after calling it params was expected to be empty (\0), and now it is "V -".

Could you please be more specific what command/ioctl you call here
and post exact steps to reproduce different behavior here?

The string above is table (dmsetup table), not status (dmsetup status).

Isn't you code just confused by a new parameter in status line?

Milan


Reply via email to