git: hammer2 / kern_dmsg - Fix bugs
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat Feb 28 08:17:36 PST 2015
commit 1a2a529d2ed1cb3da316f7fe2d8ae44b4bdd27b7
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat Feb 28 08:13:49 2015 -0800
hammer2 / kern_dmsg - Fix bugs
* Fix header size limt check.
* Do not free the message data out from under a running I/O.
Introduce an API for detaching aux_data from a msg.
* Increase DMSG_AUX_MAX to 1MB to ensure that xdisk (remote disks)
work with any filesystem.
Theoretically we can break up READ and WRITE messages into pieces
in order to allow DMSG_AUX_MAX to be made smaller (which is easier
to manage in-kernel), but for now the implementation just uses a
single message transaction.
* Adjust some comments.
Summary of changes:
sys/kern/kern_dmsg.c | 24 +++++++++++++++++++++++-
sys/kern/subr_diskiocom.c | 4 ++++
sys/sys/dmsg.h | 22 ++++++++++++++++++++--
sys/vfs/hammer2/hammer2_cluster.c | 2 +-
sys/vfs/hammer2/hammer2_vfsops.c | 2 --
5 files changed, 48 insertions(+), 6 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1a2a529d2ed1cb3da316f7fe2d8ae44b4bdd27b7
--
DragonFly BSD source repository
More information about the Commits
mailing list