cvs commit: src/sys/geom/mirror g_mirror.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Dec 21 10:42:52 PST 2004


pjd         2004-12-21 18:42:51 UTC

  FreeBSD src repository

  Modified files:
    sys/geom/mirror      g_mirror.c 
  Log:
  This should not be permitted, but some GEOM classes held the topology lock
  while doing g_(read|write)_data() (e.g. BSD). This can cause a deadlock
  in MIRROR class. Not sure if this is safe to drop the topology lock in BSD
  class, so change the code in MIRROR class to avoid this deadlock.
  
  Revision  Changes    Path
  1.51      +30 -6     src/sys/geom/mirror/g_mirror.c


More information about the cvs-all mailing list