DragonFly commits List (threaded) for 2008-06
DragonFly BSD
DragonFly commits List (threaded) for 2008-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vfs/hammer hammer.h hammer_btree.h hammer_disk.h hammer_inode.c hammer_ioctl.h hammer_mount.h hammer_subs.c hammer_transaction.c hammer_vfsops.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 23 Jun 2008 14:42:48 -0700 (PDT)

dillon      2008/06/23 14:42:48 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_btree.h hammer_disk.h 
                         hammer_inode.c hammer_ioctl.h 
                         hammer_mount.h hammer_subs.c 
                         hammer_transaction.c hammer_vfsops.c 
  Log:
  HAMMER 58A/Many: Mirroring support part 1
  
  * Implement mastership domains for transaction ids to support multi-master
    mirroring and implement mastership selection at mount time.
  
    Mastership domains work by having the low 4 bits of the transaction id
    specify the mastership id (0-15).  This allows the mirroring code to
    distinguish between changes originating on a particular node and changes
    mirrored from another node.
  
    This also ensures that filesystem objects can be created on the mirrors
    in parallel without resulting in conflicitng object ids.
  
  * Eliminate time-based TID generation.  Just increment the TID as
    appropriate.
  
    NOTE: Portions of this change may be reverted at a later time depending
    on how the mirroring implementation proceeds.
  
  * Minor code cleanups.
  
  Revision  Changes    Path
  1.91      +2 -2      src/sys/vfs/hammer/hammer.h
  1.22      +3 -3      src/sys/vfs/hammer/hammer_btree.h
  1.42      +6 -0      src/sys/vfs/hammer/hammer_disk.h
  1.83      +1 -1      src/sys/vfs/hammer/hammer_inode.c
  1.13      +1 -0      src/sys/vfs/hammer/hammer_ioctl.h
  1.6       +4 -3      src/sys/vfs/hammer/hammer_mount.h
  1.28      +1 -16     src/sys/vfs/hammer/hammer_subs.c
  1.20      +35 -35    src/sys/vfs/hammer/hammer_transaction.c
  1.52      +8 -0      src/sys/vfs/hammer/hammer_vfsops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.90&r2=1.91&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_btree.h.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_disk.h.diff?r1=1.41&r2=1.42&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.82&r2=1.83&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ioctl.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_mount.h.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_subs.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_transaction.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.51&r2=1.52&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]