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

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 19 11:46:09 PDT 2008


dillon      2008/07/19 11:44:49 PDT

DragonFly src repository

  Modified files:
    sys/vfs/hammer       hammer.h hammer_btree.c hammer_disk.h 
                         hammer_mount.h hammer_pfs.c 
                         hammer_transaction.c hammer_vfsops.c 
  Log:
  HAMMER 65/Many: PFS cleanups and confusion removal
  
  * Simplify master/slave operation.  Remove the master=, slave, and no-mirror
    options from pfs-update.  Retain pfs-master, pfs-slave, pfs-upgrade, and
    pfs-downgrade for dealing with master and slave operation.
  
    Move the master= and nomirror specifications back to hammer_mount.  They
    have to be mount-wide anyhow, the current code does not support different
    master ID's on a PFS-by-PFS basis.
  
  * Add some additional failsafes to the mount code.   The master id cannot
    be allowed to change by a mount update (-u).
  
  * Fix a bug in hammer pfs-upgrade operation that could result in a livelock
    during the B-Tree iteration.
  
  Revision  Changes    Path
  1.121     +1 -1      src/sys/vfs/hammer/hammer.h
  1.74      +3 -8      src/sys/vfs/hammer/hammer_btree.c
  1.51      +1 -1      src/sys/vfs/hammer/hammer_disk.h
  1.10      +2 -2      src/sys/vfs/hammer/hammer_mount.h
  1.4       +2 -6      src/sys/vfs/hammer/hammer_pfs.c
  1.24      +3 -3      src/sys/vfs/hammer/hammer_transaction.c
  1.66      +32 -11    src/sys/vfs/hammer/hammer_vfsops.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer.h.diff?r1=1.120&r2=1.121&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_btree.c.diff?r1=1.73&r2=1.74&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_disk.h.diff?r1=1.50&r2=1.51&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_mount.h.diff?r1=1.9&r2=1.10&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_pfs.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_transaction.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/vfs/hammer/hammer_vfsops.c.diff?r1=1.65&r2=1.66&f=u





More information about the Commits mailing list