commit | db40cc1702d6a7049740d269cf6c1a42f979c7a7 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Mon Mar 23 20:12:20 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Apr 20 18:55:35 2015 +0300 |
tree | 9e37f60353da7f0e04afc0aa5b775244da5f6345 | |
parent | 3ef650d3989677bd460497f9c3b0d58caaba0116 [diff] |
ceph: keep i_snap_realm while there are writers when reconnecting to MDS is denied, we remove session caps forcibly. But it's possible there are ongoing write, the write code needs to reference i_snap_realm. So if there are ongoing write, we keep i_snap_realm. Signed-off-by: Yan, Zheng <zyan@redhat.com>