]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC of 258789:
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Dec 2013 07:29:45 +0000 (07:29 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Dec 2013 07:29:45 +0000 (07:29 +0000)
commit61c689b0421debccb947c858e1cc73d59e5b98d8
tree60277465ef71734a044ba0adcb37693b566d60a4
parent8df38dc886f9c3d869602db20db66c83a506c356
MFC of 258789:

We needlessly panic when trying to flush MKDIR_PARENT dependencies.
We had previously tried to flush all MKDIR_PARENT dependencies (and
all the NEWBLOCK pagedeps) by calling ffs_update(). However this will
only resolve these dependencies in direct blocks. So very large
directories with MKDIR_PARENT dependencies in indirect blocks had
not yet gotten flushed. As the directory is in the midst of doing a
complete sync, we simply defer the checking of the MKDIR_PARENT
dependencies until the indirect blocks have been sync'ed.

Reported by: Shawn Wallbridge of imaginaryforces.com
Tested by:   John-Mark Gurney <jmg@funkthat.com>
PR:          183424

git-svn-id: svn://svn.freebsd.org/base/stable/9@260034 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ufs/ffs/ffs_softdep.c