]> git.baikalelectronics.ru Git - 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)
commit374e9fe0d63911ac43fd4cd123d7e0310c2ca4eb
tree85f61deab3e050c1003787b6a00146d2c97e1411
parent6530d55b3407765a88b73f36c6b82d70577ab6ec
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