2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00
linux-next/fs/ceph
Yan, Zheng a407846ef7 ceph: don't assume frag tree splits in mds reply are sorted
The algorithm that updates i_fragtree relies on that the frag tree
splits in mds reply are of the same order of i_fragtree. This is not
true because current MDS encodes frag tree splits in ascending order
of (unsigned)frag_t. But nodes in i_fragtree are sorted according to
ceph_frag_compare().

The fix is sort the frag tree splits first, then updates i_fragtree.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-05-26 01:15:37 +02:00
..
acl.c posix acls: Remove duplicate xattr name definitions 2015-12-06 21:25:17 -05:00
addr.c ceph: don't call truncate_pagecache in ceph_writepages_start 2016-05-26 01:15:32 +02:00
cache.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client 2016-01-24 12:34:13 -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: renew caps for read/write if mds session got killed. 2016-05-26 01:15:31 +02:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: don't show symlink target in debugfs/mdsc 2016-05-26 01:15:32 +02:00
dir.c ceph: using hash value to compose dentry offset 2016-05-26 01:15:36 +02:00
export.c ceph: fix security xattr deadlock 2016-03-25 18:51:55 +01:00
file.c ceph: renew caps for read/write if mds session got killed. 2016-05-26 01:15:31 +02:00
inode.c ceph: don't assume frag tree splits in mds reply are sorted 2016-05-26 01:15:37 +02:00
ioctl.c libceph: a major OSD client update 2016-05-26 01:14:03 +02: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 Move locks API users to locks_lock_inode_wait() 2015-10-22 14:57:36 -04:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: using hash value to compose dentry offset 2016-05-26 01:15:36 +02:00
mds_client.h ceph: using hash value to compose dentry offset 2016-05-26 01:15:36 +02:00
mdsmap.c ceph: CEPH_FEATURE_MDSENC support 2016-05-26 01:15:31 +02:00
snap.c ceph: kill ceph_empty_snapc 2016-03-25 18:51:52 +01:00
strings.c ceph: rename snapshot support 2015-04-22 18:33:41 +03:00
super.c ceph: report mount root in session metadata 2016-05-26 01:15:33 +02:00
super.h ceph: using hash value to compose dentry offset 2016-05-26 01:15:36 +02:00
xattr.c ceph: use CEPH_MDS_OP_RMXATTR request to remove xattr 2016-05-26 01:15:33 +02:00