]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ceph: avoid updating mds_wanted too frequently
authorYan, Zheng <zyan@redhat.com>
Thu, 12 Jan 2017 09:18:00 +0000 (17:18 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 20 Feb 2017 11:16:06 +0000 (12:16 +0100)
commiteb65b919b914e65485fd8134912066f4fafc4f1e
tree85f61deab3e050c1003787b6a00146d2c97e1411
parent7c94ba27903c3c46c5829e96efb7c2a8ab7510e9
ceph: avoid updating mds_wanted too frequently

user space may open/close single file frequently. It's not good
to send a clientcaps message to mds for each open/close syscall.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c