]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdadm.h
mdopen: use small sequence number for uniquifying array names.
authorNeilBrown <neilb@suse.de>
Tue, 4 Nov 2008 09:51:12 +0000 (20:51 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 4 Nov 2008 09:51:12 +0000 (20:51 +1100)
commitf2e55eccfb92969c3e11bc5d4883315f2e866a14
tree41d9383f638fa80ca94f8b79afe8bceb9adca1cd
parentf05641cf7a250bda189f16d9c6b917683e5c9aad
mdopen: use small sequence number for uniquifying array names.

Rather than appending the md minor number, we now append a small
sequence number to make sure name in /dev/md/ that aren't LOCAL are
unique.  As the map file is locked while we do this, we are sure
of no losing any races.

Signed-off-by: NeilBrown <neilb@suse.de>
mapfile.c
mdadm.h
mdassemble.c
mdopen.c