Date: Thu, 28 Aug 2008 09:19:50 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Message-ID: <200808280920.m7S9K6aj063932@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-08-28 09:19:50 UTC FreeBSD src repository Modified files: sys/ufs/ffs ffs_alloc.c Log: SVN rev 182366 on 2008-08-28 09:19:50Z by kib In ffs_valloc(), ffs_vget() may fail because insmntque() refused to insert new vnode into the mount vnode list. Then, for the SU-enabled mount, ffs_vfree could create freefile dependency. This dependency can hang around forever since inode is not marked as IN_MODIFIED and correspondingly inodeblock may be not marked as dirty. After ffs_vget() fails, retry with FFSV_FORCEINSMQ, mark the inode as modified, and vput() it immediately. Take care of the dup alloc. Tested by: pho Reviewed by: tegge MFC after: 1 month Revision Changes Path 1.150 +11 -1 src/sys/ufs/ffs/ffs_alloc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808280920.m7S9K6aj063932>