diff options
author | Sage Weil <sage@newdream.net> | 2011-04-06 18:31:40 +0200 |
---|---|---|
committer | Sage Weil <sage@newdream.net> | 2011-05-24 20:52:05 +0200 |
commit | 3c454cf21645bc96668e286f6352ac2c4c895fa2 (patch) | |
tree | 9ad5d408a07819d3e1155fb98df44c92f86a0eb5 /include | |
parent | rbd: use snprintf for disk->disk_name (diff) | |
download | linux-3c454cf21645bc96668e286f6352ac2c4c895fa2.tar.xz linux-3c454cf21645bc96668e286f6352ac2c4c895fa2.zip |
ceph: use LOOKUPINO to make unconnected nfs fh more reliable
If we are unable to locate an inode by ino, ask the MDS using the new
LOOKUPINO command.
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ceph/ceph_fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ceph/ceph_fs.h b/include/linux/ceph/ceph_fs.h index b8e995fbd867..b8c60694b2b0 100644 --- a/include/linux/ceph/ceph_fs.h +++ b/include/linux/ceph/ceph_fs.h @@ -313,6 +313,7 @@ enum { CEPH_MDS_OP_GETATTR = 0x00101, CEPH_MDS_OP_LOOKUPHASH = 0x00102, CEPH_MDS_OP_LOOKUPPARENT = 0x00103, + CEPH_MDS_OP_LOOKUPINO = 0x00104, CEPH_MDS_OP_SETXATTR = 0x01105, CEPH_MDS_OP_RMXATTR = 0x01106, |