• Yan, Zheng's avatar
    ceph: improve readahead for file holes · 43838685
    Yan, Zheng authored
    When readahead encounters file holes, osd reply returns error -ENOENT,
    finish_read() skips adding pages to the the page cache. So readahead
    does not work for file holes. The fix is adding zero pages to the
    page cache when -ENOENT is returned.
    Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
    43838685
addr.c 47.1 KB