git: HAMMER - Stabilize and refactor volume removal
Michael Neumann
mneumann at crater.dragonflybsd.org
Sun Dec 13 11:06:49 PST 2009
commit c47d84e8a8c736e7c9f793dba11edc6f233a22c5
Author: Michael Neumann <mneumann at ntecs.de>
Date: Sun Dec 13 19:56:55 2009 +0100
HAMMER - Stabilize and refactor volume removal
* Correctly handle already freed layer1 entries.
* Correclty avoid reallocation on the volume to be removed
during reblocking.
* Erase volume header after removal so that trying to mount it
afterwards will fail (otherwise mount will silently use it).
Summary of changes:
sys/vfs/hammer/hammer_blockmap.c | 23 +++---
sys/vfs/hammer/hammer_volume.c | 167 ++++++++++++++++++++++++--------------
2 files changed, 119 insertions(+), 71 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c47d84e8a8c736e7c9f793dba11edc6f233a22c5
--
DragonFly BSD source repository
More information about the Commits
mailing list