]> git.baikalelectronics.ru Git - kernel.git/commit
ceph: keep i_snap_realm while there are writers
authorYan, Zheng <zyan@redhat.com>
Mon, 23 Mar 2015 12:12:20 +0000 (20:12 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Apr 2015 15:55:35 +0000 (18:55 +0300)
commiteb4e034f547c2c7caef8d732ab0371b156d3e63d
tree9e37f60353da7f0e04afc0aa5b775244da5f6345
parentdd5206e47ce3a78e08e0684c890415f00fa4c0ef
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>
fs/ceph/caps.c