]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - fs/ceph/quota.c
ceph: quota: cache inode pointer in ceph_snap_realm
authorLuis Henriques <lhenriques@suse.com>
Fri, 12 Jan 2018 17:19:28 +0000 (17:19 +0000)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 2 Apr 2018 09:17:53 +0000 (11:17 +0200)
commite3161f17d92699ce6ca3b7988131b10ad4035cf9
tree64517e87740efded4fd4a962343ba81bef5d6be9
parent0eb6bbe4d9cf02f639d661edf7c02defc3453a69
ceph: quota: cache inode pointer in ceph_snap_realm

Keep a pointer to the inode in struct ceph_snap_realm.  This allows to
optimize functions that walk the realms hierarchy (e.g. in quotas).

Signed-off-by: Luis Henriques <lhenriques@suse.com>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c
fs/ceph/inode.c
fs/ceph/quota.c
fs/ceph/snap.c
fs/ceph/super.h