hammer2 - Add directive to destroy bad directory entries
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 17 Sep 2017 01:17:16 +0000 (18:17 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 17 Sep 2017 01:17:16 +0000 (18:17 -0700)
commitf6aebb44e85767963b73e878ca532ec4b16a526e
treef310bdaf4b2fdb17c52171587ad5e092db023447
parent21746137b021e802b0f7eaa8af6f7d6eea82e7cb
hammer2 - Add directive to destroy bad directory entries

* Add a directive and ioctl that is capable of destroying bad hammer2
  directory entries.  If topological corruption occurs due to a crash
  (which theoretically shouldn't be possible with HAMMER2), this directive
  allows you to destroy directory entries which do not have working inodes
  and cannot otherwise be destroyed with 'rm'.

* Sysops should only use this directive when absolutely necessary.
sbin/hammer2/Makefile
sbin/hammer2/hammer2.8
sbin/hammer2/hammer2.h
sbin/hammer2/main.c
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_ioctl.c
sys/vfs/hammer2/hammer2_ioctl.h
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_xops.c