diff options
author | Neil Brown <neilb@suse.de> | 2006-05-23 06:33:28 +0000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-05-23 06:33:28 +0000 |
commit | 83b6208e890f29115c56a252de82dfd7c50488d0 (patch) | |
tree | ccf7ab891b274cc805602a6400ee2736c03101a6 /mdadm.h | |
parent | 811e6cbed7cc06e6946e4a851710fb1e8cb36fd5 (diff) | |
download | mdadm-83b6208e890f29115c56a252de82dfd7c50488d0.tar.gz mdadm-83b6208e890f29115c56a252de82dfd7c50488d0.tar.xz mdadm-83b6208e890f29115c56a252de82dfd7c50488d0.zip |
When assembly arrays using incomplete detail, prefer arrays built for this host.
i.e. if assembling with --name or --super-minor, then if we find two
different arrays with the same apparent identity, and one was built
for 'this' host, then prefer that one instead of giving up in disgust.
Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -279,6 +279,7 @@ extern struct superswitch { void (*brief_detail_super)(void *sbv); void (*uuid_from_super)(int uuid[4], void *sbv); void (*getinfo_super)(struct mdinfo *info, void *sbv); + int (*match_home)(void *sbv, char *homehost); int (*update_super)(struct mdinfo *info, void *sbv, char *update, char *devname, int verbose, int uuid_set, char *homehost); |