For dentry leases, only count the hit/miss info triggered from the vfs calls. For the cases like request reply handling and ceph_trim_dentries, ignore them. For now, these are only viewable using debugfs. Future patches will allow the client to send the stats to the MDS. The output looks like: item total miss hit ------------------------------------------------- d_lease 11 7 141 URL: https://tracker.ceph.com/issues/43215 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			372 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			372 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# SPDX-License-Identifier: GPL-2.0
 | 
						|
#
 | 
						|
# Makefile for CEPH filesystem.
 | 
						|
#
 | 
						|
 | 
						|
obj-$(CONFIG_CEPH_FS) += ceph.o
 | 
						|
 | 
						|
ceph-y := super.o inode.o dir.o file.o locks.o addr.o ioctl.o \
 | 
						|
	export.o caps.o snap.o xattr.o quota.o io.o \
 | 
						|
	mds_client.o mdsmap.o strings.o ceph_frag.o \
 | 
						|
	debugfs.o util.o metric.o
 | 
						|
 | 
						|
ceph-$(CONFIG_CEPH_FSCACHE) += cache.o
 | 
						|
ceph-$(CONFIG_CEPH_FS_POSIX_ACL) += acl.o
 |