tmp_suning_uos_patched/fs/ceph
Yan, Zheng 745a8e3bcc ceph: don't pre-allocate space for cap release messages
Previously we pre-allocate cap release messages for each caps. This
wastes lots of memory when there are large amount of caps. This patch
make the code not pre-allocate the cap release messages. Instead,
we add the corresponding ceph_cap struct to a list when releasing a
cap. Later when flush cap releases is needed, we allocate the cap
release messages dynamically.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2015-06-25 11:49:29 +03:00
..
acl.c ceph: acl: Remove unused function 2015-02-19 13:31:38 +03:00
addr.c ceph: set i_head_snapc when getting CEPH_CAP_FILE_WR reference 2015-06-25 11:49:28 +03: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: don't pre-allocate space for cap release messages 2015-06-25 11:49:29 +03:00
ceph_frag.c
debugfs.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
dir.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2015-04-26 17:22:07 -07:00
export.c VFS: normal filesystems (and lustre): d_inode() annotations 2015-04-15 15:06:57 -04:00
file.c ceph: set i_head_snapc when getting CEPH_CAP_FILE_WR reference 2015-06-25 11:49:28 +03:00
inode.c ceph: take snap_rwsem when accessing snap realm's cached_context 2015-06-25 11:49:28 +03:00
ioctl.c ceph: fix divide-by-zero in __validate_layout() 2014-10-14 12:57:05 -07:00
ioctl.h
Kconfig ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
locks.c Revert "locks: keep a count of locks on the flctx lists" 2015-02-16 14:32:03 -05:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: don't pre-allocate space for cap release messages 2015-06-25 11:49:29 +03:00
mds_client.h ceph: don't pre-allocate space for cap release messages 2015-06-25 11:49:29 +03:00
mdsmap.c fs/ceph: replace pr_warning by pr_warn 2014-06-06 16:08:06 -07:00
snap.c ceph: make sure syncfs flushes all cap snaps 2015-06-25 11:49:29 +03:00
strings.c ceph: rename snapshot support 2015-04-22 18:33:41 +03:00
super.c ceph: check OSD caps before read/write 2015-06-25 11:49:28 +03:00
super.h ceph: don't pre-allocate space for cap release messages 2015-06-25 11:49:29 +03:00
xattr.c ceph: take snap_rwsem when accessing snap realm's cached_context 2015-06-25 11:49:28 +03:00