ceph: trim unused inodes before reconnecting to recovering MDS
authorYan, Zheng <zyan@redhat.com>
Wed, 10 Sep 2014 08:56:23 +0000 (16:56 +0800)
committerIlya Dryomov <idryomov@redhat.com>
Tue, 14 Oct 2014 17:03:22 +0000 (21:03 +0400)
commit5d23371fdb7dc03fa6fe054da3467efb0d347945
treee05b437dbc072722154b3ee555e7bc514650e0c0
parent589506f1e7f135943bcd34903bcdcf1fdaf00549
ceph: trim unused inodes before reconnecting to recovering MDS

So the recovering MDS does not need to fetch these ununsed inodes during
cache rejoin. This may reduce MDS recovery time.

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