Improved setattr debug logging.
parent
df888905ab
commit
de030d4a35
17
debug.go
17
debug.go
|
@ -57,6 +57,23 @@ func describeRequest(op interface{}) (s string) {
|
||||||
addComponent("parent %d", typed.Parent)
|
addComponent("parent %d", typed.Parent)
|
||||||
addComponent("name %q", typed.Name)
|
addComponent("name %q", typed.Name)
|
||||||
|
|
||||||
|
case *fuseops.SetInodeAttributesOp:
|
||||||
|
if typed.Size != nil {
|
||||||
|
addComponent("size %d", *typed.Size)
|
||||||
|
}
|
||||||
|
|
||||||
|
if typed.Mode != nil {
|
||||||
|
addComponent("mode %v", *typed.Mode)
|
||||||
|
}
|
||||||
|
|
||||||
|
if typed.Atime != nil {
|
||||||
|
addComponent("atime %v", *typed.Atime)
|
||||||
|
}
|
||||||
|
|
||||||
|
if typed.Mtime != nil {
|
||||||
|
addComponent("mtime %v", *typed.Mtime)
|
||||||
|
}
|
||||||
|
|
||||||
case *fuseops.ReadFileOp:
|
case *fuseops.ReadFileOp:
|
||||||
addComponent("handle %d", typed.Handle)
|
addComponent("handle %d", typed.Handle)
|
||||||
addComponent("offset %d", typed.Offset)
|
addComponent("offset %d", typed.Offset)
|
||||||
|
|
Loading…
Reference in New Issue