summaryrefslogtreecommitdiffstats
path: root/ipc/msgutil.c
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2015-06-09 09:48:57 +0200
committerIlya Dryomov <idryomov@gmail.com>2015-06-25 10:49:30 +0200
commit553adfd941f8ca622965ef809553d918ea039929 (patch)
tree26ebb1577287a48cb9bcea96e8197ef1ac3b72bc /ipc/msgutil.c
parentlibceph: fix wrong name "Ceph filesystem for Linux" (diff)
downloadlinux-553adfd941f8ca622965ef809553d918ea039929.tar.xz
linux-553adfd941f8ca622965ef809553d918ea039929.zip
ceph: track pending caps flushing accurately
Previously we do not trace accurate TID for flushing caps. when MDS failovers, we have no choice but to re-send all flushing caps with a new TID. This can cause problem because MDS can has already flushed some caps and has issued the same caps to other client. The re-sent cap flush has a new TID, which makes MDS unable to detect if it has already processed the cap flush. This patch adds code to track pending caps flushing accurately. When re-sending cap flush is needed, we use its original flush TID. Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'ipc/msgutil.c')
0 files changed, 0 insertions, 0 deletions