]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clean up orphaned indirdep dependency structures after disk failure.
authorKirk McKusick <mckusick@FreeBSD.org>
Thu, 29 Jul 2021 23:31:16 +0000 (16:31 -0700)
committerKirk McKusick <mckusick@FreeBSD.org>
Thu, 29 Jul 2021 23:31:16 +0000 (16:31 -0700)
commita91716efeb684c50289c0e1136f5432f880dc873
tree208f945111336c2c3378737ea1867d8a8aa15e7d
parent412b5e40a721430adba1b4abae210641f733f976
Clean up orphaned indirdep dependency structures after disk failure.

During forcible unmount after a disk failure there is a bug that
causes one or more indirdep dependency structures to fail to be
deallocated. Until we manage to track down why they fail to get
cleaned up, this code tracks them down and eliminates them so that
the unmount can succeed.

Reported by:  Peter Holm
Help from:    kib
Reviewed by:  Chuck Silvers
Tested by:    Peter Holm
MFC after:    7 days
Sponsored by: Netflix
sys/ufs/ffs/ffs_softdep.c
sys/ufs/ffs/softdep.h