]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Don't immediately re-run softdepflush if we didn't make any progress
authorJeff Roberson <jeff@FreeBSD.org>
Wed, 19 May 2010 06:18:01 +0000 (06:18 +0000)
committerJeff Roberson <jeff@FreeBSD.org>
Wed, 19 May 2010 06:18:01 +0000 (06:18 +0000)
commitf0268739c756e2b56ca30785f166413760f1bf75
treeb0b17d01f5e38a6e802e8109fbc913803f5cc3bc
parent94ee11670685cbce8bd96d7d2ed229f74705c11e
 - Don't immediately re-run softdepflush if we didn't make any progress
   on the last iteration.  This can lead to a deadlock when we have
   worklist items that cannot be immediately satisfied.

Reported by: uqs, Dimitry Andric <dimitry@andric.com>

 - Remove some unnecessary debugging code and place some other under
   SUJ_DEBUG.
 - Examine the journal state in softdep_slowdown().
 - Re-format some comments so I may more easily add flag descriptions.
sys/ufs/ffs/ffs_softdep.c
sys/ufs/ffs/softdep.h