Skip to content

Commit

Permalink
ceph: print name of xattr in __ceph_{get,set}xattr() douts
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
  • Loading branch information
jtlayton authored and idryomov committed Jan 27, 2020
1 parent 3c80209 commit d36e0b6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fs/ceph/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ ssize_t __ceph_getxattr(struct inode *inode, const char *name, void *value,
req_mask = __get_request_mask(inode);

spin_lock(&ci->i_ceph_lock);
dout("getxattr %p ver=%lld index_ver=%lld\n", inode,
dout("getxattr %p name '%s' ver=%lld index_ver=%lld\n", inode, name,
ci->i_xattrs.version, ci->i_xattrs.index_version);

if (ci->i_xattrs.version == 0 ||
Expand Down Expand Up @@ -1078,7 +1078,8 @@ int __ceph_setxattr(struct inode *inode, const char *name,
}
}

dout("setxattr %p issued %s\n", inode, ceph_cap_string(issued));
dout("setxattr %p name '%s' issued %s\n", inode, name,
ceph_cap_string(issued));
__build_xattrs(inode);

required_blob_size = __get_required_blob_size(ci, name_len, val_len);
Expand Down

0 comments on commit d36e0b6

Please sign in to comment.