• Yan, Zheng's avatar
    ceph: fetch inline data when getting Fcr cap refs · 3738daa6
    Yan, Zheng authored
    we can't use getattr to fetch inline data after getting Fcr caps,
    because it can cause deadlock. The solution is try bringing inline
    data to page cache when not holding any cap, and hope the inline
    data page is still there after getting the Fcr caps. If the page
    is still there, pin it in page cache for later IO.
    Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
    3738daa6
file.c 33.1 KB