Commit 005c4697 authored by Yan, Zheng's avatar Yan, Zheng Committed by Sage Weil

ceph: move inode to proper flushing list when auth MDS changes

Signed-off-by: default avatarYan, Zheng <>
Reviewed-by: default avatarSage Weil <>
parent e976cad0
......@@ -1982,8 +1982,15 @@ static void kick_flushing_inode_caps(struct ceph_mds_client *mdsc,
cap = ci->i_auth_cap;
dout("kick_flushing_inode_caps %p flushing %s flush_seq %lld\n", inode,
ceph_cap_string(ci->i_flushing_caps), ci->i_cap_flush_seq);
__ceph_flush_snaps(ci, &session, 1);
if (ci->i_flushing_caps) {
delayed = __send_cap(mdsc, cap, CEPH_CAP_OP_FLUSH,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment