hammer2 - Refactor file unlink w/open descriptor (2)
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 12 Dec 2013 03:44:38 +0000 (19:44 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 12 Dec 2013 03:44:38 +0000 (19:44 -0800)
commit9b21452a2481dc90ee53463465b2c9f9a8b59b16
tree6767a6bf25504cf6503fa3148d433816979e6ad4
parent044541cda0f600de451eb349ab34dda763328d00
hammer2 - Refactor file unlink w/open descriptor (2)

* Stabilization pass

* Fix various deadlocks.  When dealing with hardlinks lock the common
  parent directory before locking the source/target directories.
  Move cache_rename() outside of internal H2 locks.

* Fix an issue with nlinks counting.

* Remove some debugging.
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_vnops.c