Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2009 09:42:22 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/geom/concat g_concat.c src/sys/geom/label g_label.c src/sys/geom/part g_part.c src/sys/geom/shsec g_shsec.c src/sys/geom/stripe g_stripe.c src/sys/geom/uzip g_uzip.c
Message-ID:  <200910090942.n999gl2l023076@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
pjd         2009-10-09 09:42:22 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/concat      g_concat.c 
    sys/geom/label       g_label.c 
    sys/geom/part        g_part.c 
    sys/geom/shsec       g_shsec.c 
    sys/geom/stripe      g_stripe.c 
    sys/geom/uzip        g_uzip.c 
  Log:
  SVN rev 197898 on 2009-10-09 09:42:22Z by pjd
  
  If provider is open for writing when we taste it, skip it for classes that
  depend on on-disk metadata. This was we won't attach to providers that are used
  by other classes. For example we don't want to configure partitions on da0 if
  it is part of gmirror, what we really want is partitions on mirror/foo.
  
  During regular work it works like this: if provider is open for writing a class
  receives the spoiled event from GEOM and detaches, once provider is closed the
  taste event is send again and class can rediscover its metadata if it is still
  there.  This doesn't work that way when new class arrives, because GEOM gives
  all existing providers for it to taste, also those open for writing. Classes
  have to decided on their own if they want to deal with such providers (eg.
  geom_dev) or not (classes modified by this commit).
  
  Reported by:    des, Oliver Lehmann <lehmann@ans-netz.de>
  Tested by:      des, Oliver Lehmann <lehmann@ans-netz.de>
  Discussed with: phk, marcel
  Reviewed by:    marcel
  MFC after:      3 days
  
  Revision  Changes    Path
  1.32      +4 -0      src/sys/geom/concat/g_concat.c
  1.25      +4 -0      src/sys/geom/label/g_label.c
  1.41      +4 -0      src/sys/geom/part/g_part.c
  1.7       +4 -0      src/sys/geom/shsec/g_shsec.c
  1.35      +4 -0      src/sys/geom/stripe/g_stripe.c
  1.13      +5 -0      src/sys/geom/uzip/g_uzip.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910090942.n999gl2l023076>