sys/vfs/hammer: Add warning messages on ENOSPC
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 25 May 2016 03:28:42 +0000 (12:28 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 25 May 2016 07:01:42 +0000 (16:01 +0900)
commit0f243a86f17b19ea70f07a99bb2ab2e408c7da81
tree7dca35c0762c4a0edef8b7058c5a236cca61d34e
parent7b46f61d0bdc30b29344441738f7b298d85413ef
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.
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_object.c