Skip to contentSkip to conversation

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

PATCH New Mikulas Patocka 1 participant 1 message Jan 30, 2020 Device mapper

lore
Share & tools
lore

Mikulas Patocka

author maintainer
#0 lore raw

cover 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