Skip to content

Do not set flush and lockfs for DM device if resize grows the device.

Milan Broz requested to merge resize-flags into main

Resize operation (crypt_resize) changes only size, so it is safe to not flush IO (and freeze fs with lockfs) during suspend/resume cycle.

For dm-integrity there can be two suspend/resume cycles as the subsequesnt call sets recalculating flag.

Based on patch from Yury Vostrikov mon@unformed.ru

Resolves: #832 (closed)

This replaces !534 (closed)

Merge request reports