• Yan, Zheng's avatar
    ceph: don't include used caps in cap_wanted · 41445999
    Yan, Zheng authored
    when copying files to cephfs, file data may stay in page cache after
    corresponding file is closed. Cached data use Fc capability. If we
    include Fc capability in cap_wanted, MDS will treat files with cached
    data as open files, and journal them in an EOpen event when trimming
    log segment.
    Signed-off-by: default avatarYan, Zheng <zyan@redhat.com>
    41445999
caps.c 95.1 KB