ceph: search cache postion for dcache readdir
authorYan, Zheng <zyan@redhat.com>
Thu, 28 Apr 2016 09:43:35 +0000 (17:43 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 25 May 2016 23:15:33 +0000 (01:15 +0200)
commitc530cd24c23818af8da35fe556f9a7754211e50a
treea9f91bb5b241741bd3b1536c890e18aabde8bae1
parent04303d8ad06985bed4ea4f46018fc8f55a0962a8
ceph: search cache postion for dcache readdir

use binary search to find cache index that corresponds to readdir
postion.

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