hammer2 - Refactor frontend part 16/many
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 27 Jun 2015 17:34:48 +0000 (10:34 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 27 Jun 2015 17:42:49 +0000 (10:42 -0700)
commitb7add6753e221920947c96fab3314c39a2f67fe4
tree973272d58e7fcdd9ab65eef730f66cdeeb710ad3
parentb45632fb0302570b183cd6837894cfde0979d97e
hammer2 - Refactor frontend part 16/many

* Replace cluster ops with more frontend/backend XOPs.  Use XOPs to
  resolve the root inode, handle the hidden directory, create the
  hidden directory, and to run the unlinkq in the hidden directory.

* Cleanup additional cluster ops that can use ip->meta instead.

* Simplify hammer2_inode_unlock(), it is no longer cluster-centric so
  do not pass-in a cluster to unlock and drop.

* hammer2 show - dump pfs fields for the super-root

* hammer2 set* directives, change the HAMMER2IOC_INODE_SET API slightly.

* newfs_hammer2 - name the super root directory for show output convenience.
15 files changed:
sbin/hammer2/cmd_debug.c
sbin/hammer2/cmd_setcheck.c
sbin/hammer2/cmd_setcomp.c
sbin/newfs_hammer2/newfs_hammer2.c
sys/vfs/hammer2/hammer2.h
sys/vfs/hammer2/hammer2_chain.c
sys/vfs/hammer2/hammer2_cluster.c
sys/vfs/hammer2/hammer2_inode.c
sys/vfs/hammer2/hammer2_iocom.c
sys/vfs/hammer2/hammer2_ioctl.c
sys/vfs/hammer2/hammer2_ioctl.h
sys/vfs/hammer2/hammer2_thread.c
sys/vfs/hammer2/hammer2_vfsops.c
sys/vfs/hammer2/hammer2_vnops.c
sys/vfs/hammer2/hammer2_xops.c