jacobsa / fuse

A Go package for implementing a FUSE file system.
Apache License 2.0
478 stars 106 forks source link

Expose FuseID via OpContext #137

Closed djschaap closed 1 year ago

djschaap commented 1 year ago

Would you be open to including the unique FuseID in the OpContext passed to every FUSE operation?

This would allow downstream functions/methods to include that number in detailed log messages, tying those messages back to the Op identifier in existing debugLogger output. As it is, when multiple calls are active, correlating the messages can be difficult.

stapelberg commented 1 year ago

Seems reasonable. Thanks!