]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afs: Reword "cache is full" messages
authorAndrew Deason <adeason@sinenomine.net>
Thu, 13 Dec 2018 18:25:32 +0000 (12:25 -0600)
committerStephan Wiesand <stephan.wiesand@desy.de>
Fri, 25 Jan 2019 14:30:26 +0000 (09:30 -0500)
commit05ceb67a574a8e263ce8f6738e0bf4495284f6fc
tree788945956ba289ff042c5a7c957ae9b049d641e7
parent036c01d2f129b7118a77ecd6d89fbc779d91c224
afs: Reword "cache is full" messages

Currently, there are multiple different areas in the code that log a
message that look like this, when we encounter an ENOSPC error when
writing to the cache:

    *** Cache partition is FULL - Decrease cachesize!!! ***

The message is a bit unclear, and doesn't even mention AFS at all.
Reword the message to try to explain a little more what's happening.

Also, since we log the same message in several different places, move
them all to a common function, called afs_WarnENOSPC, so we only need
to change the message in one place.

Reviewed-on: https://gerrit.openafs.org/13410
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
(cherry picked from commit d9d9571785dabc5c311111b1263fe0881b0ccda5)

Change-Id: I8e958f2896f5d4503d3a153b52720e8ba3025261
Reviewed-on: https://gerrit.openafs.org/13417
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Andrew Deason <adeason@sinenomine.net>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/AIX/osi_file.c
src/afs/HPUX/osi_file.c
src/afs/IRIX/osi_file.c
src/afs/LINUX/osi_file.c
src/afs/VNOPS/afs_vnop_write.c
src/afs/afs_prototypes.h
src/afs/afs_warn.c