git: hammer volume - Serialize volume operations

Michael Neumann mneumann at crater.dragonflybsd.org
Sun Dec 27 10:34:09 PST 2009


commit 52e547e3c0ae3357e8f4b83e329abda64e70160d
Author: Michael Neumann <mneumann at ntecs.de>
Date:   Sun Dec 27 19:28:21 2009 +0100

    hammer volume - Serialize volume operations
    
    Only one hammer volume-add or hammer volume-del operation
    is allowed at the same time per mount.
    
    While for volume-add operations it is not strictly needed, it is
    absolutely required for the reblocking phase of the volume-del
    operation.

Summary of changes:
 sys/vfs/hammer/hammer.h        |    1 +
 sys/vfs/hammer/hammer_vfsops.c |    1 +
 sys/vfs/hammer/hammer_volume.c |   33 +++++++++++++++++++++++++--------
 3 files changed, 27 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/52e547e3c0ae3357e8f4b83e329abda64e70160d


-- 
DragonFly BSD source repository





More information about the Commits mailing list