ceph: reduce i_nr_by_mode array size
authorYan, Zheng <zyan@redhat.com>
Mon, 6 Jun 2016 08:01:39 +0000 (16:01 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 28 Jul 2016 00:55:39 +0000 (02:55 +0200)
commit774a6a118c70f8c11fcfe636032b5016ad71a746
tree8c1380f9b9fe2b6db6360b68f4aad373be01072b
parenta22bd5ffae2d22c054c832fe0d60976ed9e4a49d
ceph: reduce i_nr_by_mode array size

Track usage count for individual fmode bit. This can reduce the
array size by half.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c
fs/ceph/inode.c
fs/ceph/ioctl.c
fs/ceph/super.h
include/linux/ceph/ceph_fs.h