diff options
author | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2007-05-05 14:14:40 +0000 |
---|---|---|
committer | madduck <madduck@3cfab66f-1918-0410-86b3-c06b76f9a464> | 2007-05-05 14:14:40 +0000 |
commit | ec4e5c510097b8e2c01563bfb775909ab49d564f (patch) | |
tree | 0a88b3156ff4402e08859f699755ba993112c53a /debian/initramfs | |
parent | d6772aad3debeb26704275d58216599a9aeb9a26 (diff) |
* Release to unstable.
* Start arrays read-only in initramfs to prevent syncing and hence enable
resuming/freezing. The arrays will automatically sync as soon something
writes to it; thanks to Tim Dijkstra, Neil Brown, and Luis Rodrigo
Gallardo Cruz (closes: #415441).
Diffstat (limited to 'debian/initramfs')
-rw-r--r-- | debian/initramfs/script.local-top | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/initramfs/script.local-top b/debian/initramfs/script.local-top index 7befce61..bb190dbb 100644 --- a/debian/initramfs/script.local-top +++ b/debian/initramfs/script.local-top @@ -80,6 +80,9 @@ if [ ! -e $CONFIG ]; then MD_DEVS=all fi +# prevent writes/syncs so that resuming works (#415441). +echo 1 > /sys/module/md_mod/parameters/start_ro + if [ "$MD_DEVS" = all ]; then verbose && log_begin_msg "Assembling all MD arrays" |