Improved setattr debug logging.

geesefs-0-30-9
Aaron Jacobs 2015-08-11 05:58:35 +00:00
parent df888905ab
commit de030d4a35
1 changed files with 17 additions and 0 deletions

View File

@ -57,6 +57,23 @@ func describeRequest(op interface{}) (s string) {
addComponent("parent %d", typed.Parent)
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:
addComponent("handle %d", typed.Handle)
addComponent("offset %d", typed.Offset)