Skip to content

dm-integrity: make it possible to change the size of dm-integrity device

Mikulas Patocka dm-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3dm-integrity: dont replay journal data past the end of the devicedrivers/md/dm-integrity.c+4 -00 replies
2/3dm-integrity: introduce get_provided_data_sectorsdrivers/md/dm-integrity.c+23 -100 replies
3/3dm-integrity: change the size of the devicedrivers/md/dm-integrity.c+14 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] dm-integrity: make it possible to change the size of dm-integrity device

Hi

This patchset makes it possible to enlarge or shrink a dm-integrity device.

Without this patchset, dm-integrity would set the field provided_data_sectors only once and would not change it when being reloaded with different size.

This patch makes dm-integrity update provided_data_sectors at each invocation.

Mikulas