git: hammer2 hammer2 - Start adding ioctl infrastructure, start writing hammer2 utility

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Apr 5 15:52:51 PDT 2012


commit 2910a90c0cbd5e37a2c401f5ca63d4f6944351f1
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Apr 5 15:50:22 2012 -0700

    hammer2 - Start adding ioctl infrastructure, start writing hammer2 utility
    
    * Begin working on the ioctl infrastructure for HAMMER2.  Start with
      basic version retrieval and the ability to persistently store
      connection configuration in the volume header.
    
    * Start writing the hammer2 utility, beginning with connection configuration
      commands (connect, disconnect, status).

Summary of changes:
 sbin/hammer2/Makefile            |   14 ++
 sbin/hammer2/cmd_remote.c        |  123 ++++++++++++++++
 sbin/hammer2/cmd_snapshot.c      |   52 +++++++
 sbin/hammer2/hammer2.h           |   60 ++++++++
 sbin/hammer2/main.c              |  172 ++++++++++++++++++++++
 sbin/hammer2/subs.c              |   60 ++++++++
 sys/vfs/hammer2/DESIGN           |  289 ++++++++++++++------------------------
 sys/vfs/hammer2/Makefile         |    1 +
 sys/vfs/hammer2/donew2           |    5 +
 sys/vfs/hammer2/dossd2           |   11 ++
 sys/vfs/hammer2/hammer2.h        |   14 ++-
 sys/vfs/hammer2/hammer2_chain.c  |   87 ++++++++----
 sys/vfs/hammer2/hammer2_disk.h   |  138 +++++++++++++-----
 sys/vfs/hammer2/hammer2_inode.c  |    3 +-
 sys/vfs/hammer2/hammer2_ioctl.c  |  281 ++++++++++++++++++++++++++++++++++++
 sys/vfs/hammer2/hammer2_ioctl.h  |   84 +++++++++++
 sys/vfs/hammer2/hammer2_subr.c   |   13 ++-
 sys/vfs/hammer2/hammer2_vfsops.c |   43 ++++--
 sys/vfs/hammer2/hammer2_vnops.c  |   22 +++-
 19 files changed, 1208 insertions(+), 264 deletions(-)
 create mode 100644 sbin/hammer2/Makefile
 create mode 100644 sbin/hammer2/cmd_remote.c
 create mode 100644 sbin/hammer2/cmd_snapshot.c
 create mode 100644 sbin/hammer2/hammer2.h
 create mode 100644 sbin/hammer2/main.c
 create mode 100644 sbin/hammer2/subs.c
 create mode 100755 sys/vfs/hammer2/donew2
 create mode 100755 sys/vfs/hammer2/dossd2
 create mode 100644 sys/vfs/hammer2/hammer2_ioctl.c
 create mode 100644 sys/vfs/hammer2/hammer2_ioctl.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2910a90c0cbd5e37a2c401f5ca63d4f6944351f1


-- 
DragonFly BSD source repository





More information about the Commits mailing list