[openFATE 305885] Handle the metadata "dirty" bit when an ISW array contains the root file system
Feature changed by: Marc Ruehrschneck (macrue) Feature #305885, revision 8 Title: Handle the metadata "dirty" bit when an ISW array contains the root file system openSUSE-11.2: Evaluation Priority Requester: Important Requested by: Marc Ruehrschneck (macrue) - Partner organization: Intel + Partner organization: openSUSE.org Description: Shutdown scripts need to wait until all the MDRAID arrays are marked clean: The dirty bit dictates whether an array needs to be resynced. The OS must block writes to the array until the dirty bit is set, and it should allow for the bit to be cleared as a part of the system shutdown process. For rootfs-raid the metadata handler will need to be started in the early userspace environment as even mounting the root- filesystem read-only may cause writes to be issued due to journal recovery. This involves including mdmon in the initrd and and using the "--switch-root" option to switch the monitor to the final rootfs environment. At shutdown the OS must allow for the metadata handler to stay running across the "mark root-filesystem readonly" event, i.e. it must be excluded from the general killall events. Once all filesystems are readonly a call to "mdadm --wait-clean --scan" will quiesce all writes and clear the metadata dirty bit. Business case (Partner benefit): - Intel: Enable feature parity with the Windows IMSM stack for Linux - customers + openSUSE.org: Enable feature parity with the Windows IMSM stack for + Linux customers -- openSUSE Feature: https://features.opensuse.org/305885
participants (1)
-
fate_noreply@suse.de