]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC of 258789:
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Dec 2013 07:26:48 +0000 (07:26 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 29 Dec 2013 07:26:48 +0000 (07:26 +0000)
commit360070c871a4919c03e03592588d38f6a5794e73
tree0c8a89847265c014be9649a3eeec311d5ce309fe
parent20a8b0497d351b39933351f1b82159808bdd21b2
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/10@260033 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/ufs/ffs/ffs_softdep.c