ceph: handle -ESTALE reply
authorYan, Zheng <zheng.z.yan@intel.com>
Fri, 22 Nov 2013 06:21:44 +0000 (14:21 +0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Tue, 21 Jan 2014 05:29:33 +0000 (13:29 +0800)
commitca18bede048e95a749d13410ce1da4ad0ffa7938
treec184b060bfb8e7b5393544bfbbd581077025ed76
parent979abfdd5c7ca4abe3f0157a6ea9bfef41114c89
ceph: handle -ESTALE reply

Send requests that operate on path to directory's auth MDS if
mode == USE_AUTH_MDS. Always retry using the auth MDS if got
-ESTALE reply from non-auth MDS. Also clean up the code that
handles auth MDS change.

Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/mds_client.c