commit | 0e2943878942aee7100c94d0d40c49087dac12cb | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Mon Jul 04 18:06:41 2016 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Jul 28 03:00:42 2016 +0200 |
tree | 8611ba2813ab13fd5a36a70dbd5005b29818d40e | |
parent | e4500b5e35c213e0f97be7cb69328c0877203a79 [diff] |
ceph: unify cap flush and snapcap flush This patch includes following changes - Assign flush tid to snapcap flush - Remove session's s_cap_snaps_flushing list. Add inode to session's s_cap_flushing list instead. Inode is removed from the list when there is no pending snapcap flush or cap flush. - make __kick_flushing_caps() re-send both snapcap flushes and cap flushes. Signed-off-by: Yan, Zheng <zyan@redhat.com>