git: hammer2 - work on bmap->avail tracking, fix DIO issue w/block reuse
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Jan 29 10:23:31 PST 2015
commit 271568b17008871f333ec935d8d76c8d92083592
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Jan 29 10:21:46 2015 -0800
hammer2 - work on bmap->avail tracking, fix DIO issue w/block reuse
* Start working on tracking bmap->avail in a way that the bulkfree
code can undo.
* DIO was allowing mixed 16/64K buffers, but bulkfree doesn't invalidate
cached DIOs and the re-use case might want a larger buffer. For now
deal with it by just having DIO use 64K buffers.
Summary of changes:
sys/vfs/hammer2/hammer2_bulkscan.c | 31 ++++++++---
sys/vfs/hammer2/hammer2_freemap.c | 105 +++++++++++++++++++++++++++++++------
sys/vfs/hammer2/hammer2_io.c | 9 +++-
3 files changed, 121 insertions(+), 24 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/271568b17008871f333ec935d8d76c8d92083592
--
DragonFly BSD source repository
More information about the Commits
mailing list