Date: Fri, 23 Apr 2010 19:35:07 +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: <201004231935.o3NJZTui058818@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mjacob 2010-04-23 19:35:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/geom/multipath g_multipath.c Log: SVN rev 207133 on 2010-04-23 19:35:07Z by mjacob This is an MFC of 205847, 204071, 196580 and 196579 ------------------------------------------------------------------------ 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. ------------------------------------------------------------------------ Fix an obvious topology lock leak. Revision Changes Path 1.1.2.2 +32 -54 src/sys/geom/multipath/g_multipath.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004231935.o3NJZTui058818>