git: sys/vfs/hammer: Add warning messages on ENOSPC
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Wed May 25 04:46:17 PDT 2016
commit 0f243a86f17b19ea70f07a99bb2ab2e408c7da81
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Wed May 25 12:28:42 2016 +0900
sys/vfs/hammer: Add warning messages on ENOSPC
Add warning messages if the blockmap allocator finds ENOSPC.
B-Tree functions may also return ENOSPC, but those are results
of failure in blockmap allocation on node split.
_hammer_checkspace() doesn't have this warning for now.
This gets called by many of the syscalls before inmemory/ondisk
file operations start, so it's pretty obvious without bunch of
"No space left" in dmesg.
Summary of changes:
sys/vfs/hammer/hammer_blockmap.c | 5 +++++
sys/vfs/hammer/hammer_object.c | 1 +
2 files changed, 6 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0f243a86f17b19ea70f07a99bb2ab2e408c7da81
--
DragonFly BSD source repository
More information about the Commits
mailing list