Mailinglist Archive: opensuse-features (408 mails)

< Previous Next >
[openFATE 305885] Handle the metadata "dirty" bit when an ISW array contains the root file system
  • From: fate_noreply@xxxxxxx
  • Date: Mon, 2 Nov 2009 17:14:50 +0100 (CET)
  • Message-id: <feature-305885-15@xxxxxxxxxxxxxx>
Feature changed by: Michal Marek (michal-m)
Feature #305885, revision 15
Title: Handle the metadata "dirty" bit when an ISW array contains the
root file system

openSUSE-11.2: Candidate
Priority
Requester: Important
Projectmanager: Important

+ openSUSE-11.3: Done
+ Priority
+ Requester: Important
+ Projectmanager: Important

Requested by: Marc Ruehrschneck (macrue)
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):
openSUSE.org: Enable feature parity with the Windows IMSM stack for
Linux customers

Discussion:
#4: Thorsten Kukuk (kukuk) (2009-10-07 10:04:05)
Something for boot.md...

+ #5: Michal Marek (michal-m) (2009-11-02 17:13:22)
+ Done in Factory, please reject for 11.2



--
openSUSE Feature:
https://features.opensuse.org/305885

< Previous Next >
This Thread