Package: linux-image-3.16 Severity: important Tags: patch
For an md mirror with bitmap, when re-adding a device that was previously detached during recovery, new recovery starts from the offset of last recovery. If there were any writes to the mirror before that recovery offset during device was detaching, they will be stored only on the present part of mirror and will be ignored on the re-added device.
Bug is found on 3.16 kernel both Debian 8 and Ubuntu 14.10. In the mainline kernel 3.19.0-rc4 bug is not detected. Shell script for this bug testing is attached.
md-mirror-resync-broken-v2.sh
Description: application/shellscript