diff options
author | Yan, Zheng | 2014-11-06 15:09:41 +0800 |
---|---|---|
committer | Ilya Dryomov | 2014-12-17 20:09:51 +0300 |
commit | 97c85a828f36bbfffe9d77b977b65a5872b6cad4 (patch) | |
tree | dd432537785a075981f8e1ea5525b5f4f0006cf3 /fs/compat_ioctl.c | |
parent | 7cfa0313d0dc52e4da9f196f8ad5bfdf266fc1fb (diff) |
ceph: introduce global empty snap context
Current snaphost code does not properly handle moving inode from one
empty snap realm to another empty snap realm. After changing inode's
snap realm, some dirty pages' snap context can be not equal to inode's
i_head_snap. This can trigger BUG() in ceph_put_wrbuffer_cap_refs()
The fix is introduce a global empty snap context for all empty snap
realm. This avoids triggering the BUG() for filesystem with no snapshot.
Fixes: http://tracker.ceph.com/issues/9928
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions