]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
softdep_request_cleanup: wait for softdep_request_clean_flush() to pass
authorKonstantin Belousov <kib@FreeBSD.org>
Wed, 3 Feb 2021 23:58:05 +0000 (01:58 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Fri, 12 Feb 2021 01:02:22 +0000 (03:02 +0200)
commit2011b44fa3f2b2bd5a24be01094420cce9144b2d
tree963fc2a8a64429bc3aaa0788f6771dd09458b735
parent013168db8cea926c3dde1247d400d6bedf9a889d
softdep_request_cleanup: wait for softdep_request_clean_flush() to pass

if we noted a parallel request is active and declined to overflow the
system with parallel redundant sync of the vnodes.  But we need to wait
for the flush to finish to see if there are any freed resources.

Reviewed by: chs, mckusick
Tested by: pho
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
sys/ufs/ffs/ffs_softdep.c