Date: Fri, 23 Apr 2010 16:49:18 +0000 (UTC) From: Matt Jacob <mjacob@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom/multipath g_multipath.c Message-ID: <201004231649.o3NGnf7p042959@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mjacob 2010-04-23 16:49:18 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/geom/multipath g_multipath.c Log: SVN rev 207126 on 2010-04-23 16:49:18Z by mjacob This is an MFC of 205847, 204071 and 196580 ------ Change how multipath labels are created and managed. This makes it easier to support various storage boxes which really aren't active-active. We only write the label on the *first* provider. For all other providers we just "add" the disk. This also allows for an "add" verb. A usage implication is that you should specificy the currently active storage path as the first provider. Note that this does not add RDAC-like functionality, but better allows for autovolumefailover configurations (additional checkins elsewhere will support this). ------------------------------------------------------------------------ - Style fixes. - Prefer strlcpy() over strncpy(). ------------------------------------------------------------------------ There's no need for checking result of M_WAITOK allocation. Revision Changes Path 1.2.2.4 +32 -58 src/sys/geom/multipath/g_multipath.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004231649.o3NGnf7p042959>