]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC of 258789:
authormckusick <mckusick@FreeBSD.org>
Sun, 29 Dec 2013 07:26:48 +0000 (07:26 +0000)
committermckusick <mckusick@FreeBSD.org>
Sun, 29 Dec 2013 07:26:48 +0000 (07:26 +0000)
commit9a9f8d23f599d40778f30e0cb64f32d18e3c5002
tree0c8a89847265c014be9649a3eeec311d5ce309fe
parent2cc168fb9fc9be682ff4c984b6306ddfe22c033d
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
sys/ufs/ffs/ffs_softdep.c