tmp_suning_uos_patched/fs/ceph
Yan, Zheng 97c85a828f 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>
2014-12-17 20:09:51 +03:00
..
acl.c ceph: include the initial ACL in create/mkdir/mknod MDS requests 2014-10-14 12:56:49 -07:00
addr.c ceph: remove redundant code for max file size verification 2014-10-14 21:03:40 +04:00
cache.c ceph: fscache: Wait for completion of object initialization 2014-04-03 10:33:53 +08:00
cache.h ceph: fscache: add an interface to synchronize object store limit 2014-04-03 10:33:53 +08:00
caps.c ceph, rbd: delete unnecessary checks before two function calls 2014-12-17 20:09:50 +03:00
ceph_frag.c
debugfs.c ceph: additional debugfs output 2014-10-14 12:57:01 -07:00
dir.c ceph: introduce a new inode flag indicating if cached dentries are ordered 2014-12-17 20:09:50 +03:00
export.c ceph: ceph_get_parent() can be static 2014-06-06 09:29:50 +08:00
file.c ceph: include the initial ACL in create/mkdir/mknod MDS requests 2014-10-14 12:56:49 -07:00
inode.c ceph: introduce a new inode flag indicating if cached dentries are ordered 2014-12-17 20:09:50 +03:00
ioctl.c ceph: fix divide-by-zero in __validate_layout() 2014-10-14 12:57:05 -07:00
ioctl.h ceph: fully initialize new layout 2012-05-16 14:28:27 -05:00
Kconfig ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
locks.c ceph: fix file lock interruption 2014-12-17 20:09:49 +03:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: message versioning fixes 2014-12-17 20:09:51 +03:00
mds_client.h ceph: fix file lock interruption 2014-12-17 20:09:49 +03:00
mdsmap.c fs/ceph: replace pr_warning by pr_warn 2014-06-06 16:08:06 -07:00
snap.c ceph: introduce global empty snap context 2014-12-17 20:09:51 +03:00
strings.c ceph: add get_name() NFS export callback 2014-04-03 10:33:53 +08:00
super.c ceph: introduce global empty snap context 2014-12-17 20:09:51 +03:00
super.h ceph: introduce global empty snap context 2014-12-17 20:09:51 +03:00
xattr.c ceph: use pagelist to present MDS request data 2014-10-14 12:56:49 -07:00