mar-file-system / marfs

MarFS provides a scalable near-POSIX file system by using one or more POSIX file systems as a scalable metadata component and one or more data stores (object, file, etc) as a scalable data component.
Other
96 stars 27 forks source link

Fuse: add path to error messages for fuse operations #228

Closed bertschinger closed 1 year ago

bertschinger commented 1 year ago

The error messages in the fuse component for failed FS operations do not include the paths, but this makes it difficult to correlate the error with the user operation that triggered it. In some cases it may be possible to correlate it with a previous log message containing the path, but it will be easier to just always log the path in addition to the error message any time an error occurs.

For operations which take two paths, like link or rename, both paths are reported because it can be ambiguous which path causes the error.