mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
ceph: print name of xattr in __ceph_{get,set}xattr() douts
Signed-off-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
3c802092da
commit
d36e0b620a
@ -851,7 +851,7 @@ ssize_t __ceph_getxattr(struct inode *inode, const char *name, void *value,
|
|||||||
req_mask = __get_request_mask(inode);
|
req_mask = __get_request_mask(inode);
|
||||||
|
|
||||||
spin_lock(&ci->i_ceph_lock);
|
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);
|
ci->i_xattrs.version, ci->i_xattrs.index_version);
|
||||||
|
|
||||||
if (ci->i_xattrs.version == 0 ||
|
if (ci->i_xattrs.version == 0 ||
|
||||||
@ -1078,7 +1078,8 @@ retry:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
__build_xattrs(inode);
|
||||||
|
|
||||||
required_blob_size = __get_required_blob_size(ci, name_len, val_len);
|
required_blob_size = __get_required_blob_size(ci, name_len, val_len);
|
||||||
|
Loading…
Reference in New Issue
Block a user