]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: unify cap flush and snapcap flush
authorYan, Zheng <zyan@redhat.com>
Tue, 28 Jun 2016 12:39:08 +0000 (20:39 +0800)
committerYan, Zheng <zyan@redhat.com>
Fri, 15 Jul 2016 01:11:49 +0000 (09:11 +0800)
commita05e996b2a2c36496abd8538829ac4897392f6eb
treee22c700d6f71da4382afe109e0acc977ff94b722
parentbc50e0309280c08c3ca79dfa5514ac3a15f81a23
client: unify cap flush and snapcap flush

This patch includes following changes
- assign flush tid to snapcap flush
- remove session's flushing_capsnaps list. add inode with snapcap
  flushes to session's flushing_caps list instead.
- when reconnecting to MDS, re-send one inode's snapcap flushes and
  cap flushes at the same time.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
src/client/Client.cc
src/client/Client.h
src/client/Inode.h
src/client/MetaSession.h