summaryrefslogtreecommitdiffstats
path: root/fs/ceph/mds_client.h
diff options
context:
space:
mode:
authorGreg Farnum2010-06-23 00:58:01 +0200
committerSage Weil2010-08-02 05:11:41 +0200
commite55b71f802fd448a79275ba7b263fe1a8639be5f (patch)
treefa17d2b0fbf1bc5e76a5e9ddac6c19a6bbe8d2bc /fs/ceph/mds_client.h
parentceph: add ceph_get_cap_for_mds function. (diff)
downloadkernel-qcow2-linux-e55b71f802fd448a79275ba7b263fe1a8639be5f.tar.gz
kernel-qcow2-linux-e55b71f802fd448a79275ba7b263fe1a8639be5f.tar.xz
kernel-qcow2-linux-e55b71f802fd448a79275ba7b263fe1a8639be5f.zip
ceph: handle ESTALE properly; on receipt send to authority if it wasn't
Signed-off-by: Greg Farnum <gregf@hq.newdream.net> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/mds_client.h')
-rw-r--r--fs/ceph/mds_client.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/mds_client.h b/fs/ceph/mds_client.h
index c86be30e8707..ab7e89f5e344 100644
--- a/fs/ceph/mds_client.h
+++ b/fs/ceph/mds_client.h
@@ -208,8 +208,8 @@ struct ceph_mds_request {
int r_attempts; /* resend attempts */
int r_num_fwd; /* number of forward attempts */
- int r_num_stale;
int r_resend_mds; /* mds to resend to next, if any*/
+ u32 r_sent_on_mseq; /* cap mseq request was sent at*/
struct kref r_kref;
struct list_head r_wait;