Date: Sat, 14 Feb 2009 21:08:40 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ffs ffs_alloc.c Message-ID: <200902142108.n1EL8wNE050929@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2009-02-14 21:08:40 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/ufs/ffs ffs_alloc.c
Log:
SVN rev 188612 on 2009-02-14 21:08:40Z by kib
MFC r182366:
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.
Revision Changes Path
1.147.2.4 +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?200902142108.n1EL8wNE050929>
