summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-internal.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2020-01-07 19:43:05 +0100
committerhari gowtham <hari.gowtham005@gmail.com>2020-05-05 11:47:31 +0000
commit41f0dbd6d9176bc65b5a39287ba490f734f39035 (patch)
tree93d48a787a167e98b0386ab6781d9ea288d48563 /api/src/glfs-internal.h
parentdf0a3c99dce0255bb39009684ed16f08cb685f1f (diff)
fuse: degrade logging of write failure to fuse device
Problem: FUSE uses failures of communicating with /dev/fuse with various errnos to indicate in-kernel conditions to userspace. Some of these shouldn't be handled as an application error. Also the standard POSIX errno description should not be shown as they are misleading in this context. Solution: When writing to the fuse device, the caller of the respective convenience routine can mask those errnos which don't qualify to be an error for the application in that context, so then those shall be reported at DEBUG level. The possible non-standard errnos are reported with their POSIX name instead of their description to avoid confusion. (Eg. for ENOENT we don't log "no such file or directory", we log indeed literal "ENOENT".) Change-Id: I510158843e4b1d482bdc496c2e97b1860dc1ba93 >updates: bz#1193929 updates: #1000 Signed-off-by: Csaba Henk <csaba@redhat.com> (cherry picked from commit 1166df1920dd9b2bd5fce53ab49d27117db40238)
Diffstat (limited to 'api/src/glfs-internal.h')
0 files changed, 0 insertions, 0 deletions