commit | af5e5eb574776cdf1b756a27cc437bff257e22fe | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Fri Feb 26 16:27:13 2016 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Fri Mar 25 18:51:53 2016 +0100 |
tree | c96a1b12b10744491f89d19ac1bfe21f6a519747 | |
parent | 89f081730c49a1d3b46359aa0054e6b3b80f47e4 [diff] |
ceph: fix race during filling readdir cache Readdir cache uses page cache to save dentry pointers. When adding dentry pointers to middle of a page, we need to make sure the page already exists. Otherwise the beginning part of the page will be invalid pointers. Signed-off-by: Yan, Zheng <zyan@redhat.com>