linux/fs/ceph
Jeff Layton bc2de10dc4 ceph: convert bools in ceph_mds_request to a new r_req_flags field
Currently, we have a bunch of bool flags in struct ceph_mds_request. We
need more flags though, but each bool takes (at least) a byte. Those
add up over time.

Merge all of the existing bools in this struct into a single unsigned
long, and use the set/test/clear_bit macros to manipulate them. These
are atomic operations, but that is required here to prevent
load/modify/store races. The existing flags are protected by different
locks, so we can't rely on them for that purpose.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-02-20 12:16:08 +01:00
..
acl.c ceph: Propagate dentry down to inode_change_ok() 2016-09-22 10:56:19 +02:00
addr.c ceph: update readpages osd request according to size of pages 2017-02-20 12:16:07 +01:00
cache.c ceph: fix spelling mistake: "enabing" -> "enabling" 2017-02-20 12:16:05 +01:00
cache.h ceph: improve fscache revalidation 2016-06-01 10:31:50 +02:00
caps.c ceph: avoid calling ceph_renew_caps() infinitely 2017-02-20 12:16:07 +01:00
ceph_frag.c ceph: factor out libceph from Ceph file system 2010-10-20 15:37:28 -07:00
debugfs.c ceph: convert bools in ceph_mds_request to a new r_req_flags field 2017-02-20 12:16:08 +01:00
dir.c ceph: convert bools in ceph_mds_request to a new r_req_flags field 2017-02-20 12:16:08 +01:00
export.c ceph: switch to use of ->d_init() 2016-10-28 22:05:13 -04:00
file.c ceph: avoid calling ceph_renew_caps() infinitely 2017-02-20 12:16:07 +01:00
inode.c ceph: convert bools in ceph_mds_request to a new r_req_flags field 2017-02-20 12:16:08 +01:00
ioctl.c ceph: fix bogus endianness change in ceph_ioctl_set_layout 2017-02-20 12:16:07 +01: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 mandatory flock check 2016-10-03 16:13:49 +02:00
Makefile ceph: add acl for cephfs 2013-12-31 20:32:01 +02:00
mds_client.c ceph: convert bools in ceph_mds_request to a new r_req_flags field 2017-02-20 12:16:08 +01:00
mds_client.h ceph: convert bools in ceph_mds_request to a new r_req_flags field 2017-02-20 12:16:08 +01:00
mdsmap.c ceph: check availability of mds cluster on mount 2016-12-12 23:54:27 +01:00
snap.c ceph: record truncate size/seq for snap data writeback 2016-12-12 23:54:27 +01:00
strings.c ceph: handle CEPH_SESSION_REJECT message 2016-10-03 16:13:50 +02:00
super.c ceph: set io_pages bdi hint 2017-02-20 12:16:05 +01:00
super.h ceph: drop session argument to ceph_fill_trace 2017-02-20 12:16:08 +01:00
xattr.c ceph: fix non static symbol warning 2016-10-18 12:30:32 +02:00