cvs commit: src/sbin/geom/class/concat geom_concat.c
src/sbin/geom/class/label
geom_label.c src/sbin/geom/class/mirror geom_mirror.c
src/sbin/geom/class/raid3 geom_raid3.c src/sbin/geom/class/shsec
geom_shsec.c src/sbin/geom/class/stripe geom_stripe.c ...
Pawel Jakub Dawidek
pjd at FreeBSD.org
Sun Feb 27 23:07:48 GMT 2005
pjd 2005-02-27 23:07:47 UTC
FreeBSD src repository
Modified files:
sbin/geom/class/concat geom_concat.c
sbin/geom/class/label geom_label.c
sbin/geom/class/mirror geom_mirror.c
sbin/geom/class/raid3 geom_raid3.c
sbin/geom/class/shsec geom_shsec.c
sbin/geom/class/stripe geom_stripe.c
sys/geom/concat g_concat.c g_concat.h
sys/geom/label g_label.c g_label.h
sys/geom/mirror g_mirror.c g_mirror.h
sys/geom/raid3 g_raid3.c g_raid3.h
sys/geom/shsec g_shsec.c g_shsec.h
sys/geom/stripe g_stripe.c g_stripe.h
Log:
- Add md_provsize field to metadata, which will help with
shared-last-sector problem.
After this change, even if there is more than one provider with the same
last sector, the proper one will be chosen based on its size.
It still doesn't fix the 'c' partition problem (when da0s1 can be confused
with da0s1c) and situation when 'a' partition starts at offset 0
(then da0s1a can be confused with da0s1 and da0s1c). One can use '-h'
option there, when creating device or avoid sharing last sector.
Actually, when providers share the same last sector and their size is equal,
they provide exactly the same data, so the name (da0s1, da0s1a, da0s1c)
isn't important at all.
- Provide backward compatibility.
- Update copyright's year.
MFC after: 1 week
Revision Changes Path
1.7 +8 -1 src/sbin/geom/class/concat/geom_concat.c
1.5 +7 -1 src/sbin/geom/class/label/geom_label.c
1.9 +3 -1 src/sbin/geom/class/mirror/geom_mirror.c
1.10 +6 -4 src/sbin/geom/class/raid3/geom_raid3.c
1.4 +6 -4 src/sbin/geom/class/shsec/geom_shsec.c
1.10 +6 -4 src/sbin/geom/class/stripe/geom_stripe.c
1.23 +9 -2 src/sys/geom/concat/g_concat.c
1.11 +6 -2 src/sys/geom/concat/g_concat.h
1.13 +15 -1 src/sys/geom/label/g_label.c
1.4 +10 -2 src/sys/geom/label/g_label.h
1.60 +4 -0 src/sys/geom/mirror/g_mirror.c
1.16 +44 -3 src/sys/geom/mirror/g_mirror.h
1.39 +14 -6 src/sys/geom/raid3/g_raid3.c
1.11 +45 -3 src/sys/geom/raid3/g_raid3.h
1.3 +9 -0 src/sys/geom/shsec/g_shsec.c
1.3 +5 -1 src/sys/geom/shsec/g_shsec.h
1.24 +9 -2 src/sys/geom/stripe/g_stripe.c
1.7 +6 -2 src/sys/geom/stripe/g_stripe.h
More information about the cvs-src
mailing list