cvs commit: src/sys/ufs/ffs ffs_alloc.c

Alexander Kabaev kan at FreeBSD.org
Tue Mar 16 14:06:33 PST 2004


kan         2004/03/16 14:06:32 PST

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_alloc.c 
  Log:
  Avoid doing bawrite to initialize inode block while holding cylinder
  group block locked. If filesystem has any active snapshots, bawrite
  can come back trying to allocate new snapshot data block from the same
  cylinder group and cause panic due to recursive lock attempt.
  
  PR:             64206
  Reviewed by:    mckusick
  Tested by:      pjd
  
  Revision  Changes    Path
  1.117     +3 -1      src/sys/ufs/ffs/ffs_alloc.c


More information about the cvs-src mailing list