]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
Grow: store a link to current backup file in /run/mdadm or similar.
authorNeilBrown <neilb@suse.de>
Thu, 15 May 2014 04:23:16 +0000 (14:23 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 15 May 2014 04:23:16 +0000 (14:23 +1000)
commit54ded86fbd7a6a14896cd4a26b909759a1153366
treeb6c13ec66072a0d8ffbe5b6590eddfbc8ada1ade
parent39917e56ccbabe0b53771ea698c1284b14c62fa3
Grow: store a link to current backup file in /run/mdadm or similar.

Subsequent patch will allow the background part of "mdadm --grow" to
be run from systemd.  This can require the passing of a backup file
name.
To do this, store that name as a symlink in /run/mdadm (or MAP_DIR)
and look for it when appropriate.

It might be useful to also store the name across reboot, but that
would be a different patch.  We would need to use the uuid to identify
it, and store it in stable storage.

Signed-off-by: NeilBrown <neilb@suse.de>
Assemble.c
Grow.c
mdadm.h