opnsense-src/sys/ufs/ffs
Kirk McKusick a91716efeb 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
2021-07-29 16:31:16 -07:00
..
ffs_alloc.c ffs: mark block (re-)allocations as seqc writes 2021-06-23 23:46:15 +03:00
ffs_balloc.c ffs: mark block (re-)allocations as seqc writes 2021-06-23 23:46:15 +03:00
ffs_extern.h softdep_prelink(): only do sync if other thread changed the vnode metadata since previous prelink 2021-06-23 23:46:54 +03:00
ffs_inode.c Move mnt_maxsymlinklen into appropriate fs mount data structures 2021-05-22 15:16:09 +03:00
ffs_rawread.c vmapbuf: don't smuggle address or length in buf 2020-10-21 16:00:15 +00:00
ffs_snapshot.c UFS snapshots: properly set the vm object size. 2021-02-16 07:11:52 +02:00
ffs_softdep.c Clean up orphaned indirdep dependency structures after disk failure. 2021-07-29 16:31:16 -07:00
ffs_subr.c Various new check-hash checks have been added to the UFS filesystem 2020-10-25 00:43:48 +00:00
ffs_suspend.c Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +00:00
ffs_tables.c sys: further adoption of SPDX licensing ID tags. 2017-11-20 19:43:44 +00:00
ffs_vfsops.c FFS: remove ffs_fsfail_task 2021-07-24 12:52:41 -07:00
ffs_vnops.c Move mnt_maxsymlinklen into appropriate fs mount data structures 2021-05-22 15:16:09 +03:00
fs.h Various new check-hash checks have been added to the UFS filesystem 2020-10-25 00:43:48 +00:00
softdep.h Clean up orphaned indirdep dependency structures after disk failure. 2021-07-29 16:31:16 -07:00