path: root/xlators/storage/posix/src/posix-metadata.c
diff options
authorCsaba Henk <>2020-01-07 19:43:05 +0100
committerXavi Hernandez <>2020-01-09 19:43:55 +0000
commit1166df1920dd9b2bd5fce53ab49d27117db40238 (patch)
tree14a3ef7ba4ede258d9a3d729408b6f06ed9a07e5 /xlators/storage/posix/src/posix-metadata.c
parent8d55951efe744f6da36f5b61c5be5a8bd77dc426 (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 Signed-off-by: Csaba Henk <>
Diffstat (limited to 'xlators/storage/posix/src/posix-metadata.c')
0 files changed, 0 insertions, 0 deletions