summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2020-01-07 19:43:05 +0100
committerRinku Kothiya <rkothiya@redhat.com>2020-07-08 01:24:15 +0000
commit05996088c25057eb875371eb869449a1e34505e6 (patch)
tree8739dfd308594f008dbbaecae01c8012bc39b62d /xlators/cluster
parentff2977592589b4ea185cb80d52f1ec4d30e309ad (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 'xlators/cluster')
0 files changed, 0 insertions, 0 deletions