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

cvs commit: src/sys/vfs/hammer hammer.h hammer_btree.c hammer_disk.h hammer_inode.c hammer_mirror.c hammer_ondisk.c hammer_subs.c hammer_vnops.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 6 Jul 2008 20:49:51 -0700 (PDT)

dillon      2008/07/06 20:49:51 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_btree.c hammer_disk.h 
                         hammer_inode.c hammer_mirror.c 
                         hammer_ondisk.c hammer_subs.c 
                         hammer_vnops.c 
  Log:
  HAMMER 60F/Many: Mirroring
  
  * Properly propagate mirror_tid when splitting B-Tree nodes.
  
  * Arrange for the fsid reported as st_dev to be based on the shared_uuid,
    so the same value is reported on the slaves as on the master.
  
    Munge the fsid based on the asof timestamp to try to make snapshots look
    different from current filesystems, so programs like 'diff' don't get
    confused.
  
    This allows one to run (tar cf - directory@@<timestamp> | md5) on a
    slave and get the same answer as he got on the master.  Note, however,
    that the tar cannot include the root directory of the PFS or master
    because the root directory inode is not mirrored (only files and directories
    underneath it), and will mess up the MD5.
  
  * Properly update vol0_next_tid when writing to a mirroring slave.
  
  * Attempt to regenerate the inode for the root PFS when doing a name lookup
    based on the current latest snapshot.  This may need more work.
  
  Revision  Changes    Path
  1.105     +3 -1      src/sys/vfs/hammer/hammer.h
  1.65      +7 -0      src/sys/vfs/hammer/hammer_btree.c
  1.47      +4 -6      src/sys/vfs/hammer/hammer_disk.h
  1.95      +4 -2      src/sys/vfs/hammer/hammer_inode.c
  1.8       +15 -0     src/sys/vfs/hammer/hammer_mirror.c
  1.66      +0 -1      src/sys/vfs/hammer/hammer_ondisk.c
  1.31      +9 -0      src/sys/vfs/hammer/hammer_subs.c
  1.82      +36 -6     src/sys/vfs/hammer/hammer_vnops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.104&r2=1.105&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_btree.c.diff?r1=1.64&r2=1.65&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_disk.h.diff?r1=1.46&r2=1.47&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_inode.c.diff?r1=1.94&r2=1.95&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_mirror.c.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_ondisk.c.diff?r1=1.65&r2=1.66&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_subs.c.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vnops.c.diff?r1=1.81&r2=1.82&f=u



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