]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: don't add setfilelock requests to session's completed_requests 4743/head
authorYan, Zheng <zyan@redhat.com>
Fri, 22 May 2015 01:47:44 +0000 (09:47 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 29 May 2015 01:45:04 +0000 (09:45 +0800)
commit2517ea99455504969ef249bba70f6704a9d2fa36
treea63dab106a34d62074f99e70689458c4f84393ee
parentae0863888da4b965f5d75320ccb414a596f338d5
mds: don't add setfilelock requests to session's completed_requests

setfilelock requests only modify states in MDS memory. The states get
lost when MDS fails. If a setfilelock reply gets lost when MDS fails,
client will re-send corresponding setfilelock request when new MDS
restarts. The new MDS should re-execute the setfilelock request

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/mds/Server.cc