summaryrefslogtreecommitdiff
path: root/ipc/msg.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2010-06-01 14:47:40 -0400
committerSteve French <sfrench@us.ibm.com>2010-06-12 02:06:52 +0000
commit12420ac341533f3715b3deb788637568f22b78ff (patch)
tree8462f0cf5276a97dd419c88760d08f5a17e5888a /ipc/msg.c
parented0e3ace576d297a5c7015401db1060bbf677b94 (diff)
downloadlinux-3.10-12420ac341533f3715b3deb788637568f22b78ff.tar.gz
linux-3.10-12420ac341533f3715b3deb788637568f22b78ff.tar.bz2
linux-3.10-12420ac341533f3715b3deb788637568f22b78ff.zip
cifs: implement drop_inode superblock op
The standard behavior for drop_inode is to delete the inode when the last reference to it is put and the nlink count goes to 0. This helps keep inodes that are still considered "not deleted" in cache as long as possible even when there aren't dentries attached to them. When server inode numbers are disabled, it's not possible for cifs_iget to ever match an existing inode (since inode numbers are generated via iunique). In this situation, cifs can keep a lot of inodes in cache that will never be used again. Implement a drop_inode routine that deletes the inode if server inode numbers are disabled on the mount. This helps keep the cifs inode caches down to a more manageable size when server inode numbers are disabled. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'ipc/msg.c')
0 files changed, 0 insertions, 0 deletions