1. 11 11月, 2021 1 次提交
  2. 03 9月, 2021 1 次提交
  3. 13 7月, 2021 1 次提交
    • J
      ceph: Fix race between hole punch and page fault · 057ba5b2
      Jan Kara 提交于
      Ceph has a following race between hole punching and page fault:
      
      CPU1                                  CPU2
      ceph_fallocate()
        ...
        ceph_zero_pagecache_range()
                                            ceph_filemap_fault()
                                              faults in page in the range being
                                              punched
        ceph_zero_objects()
      
      And now we have a page in punched range with invalid data. Fix the
      problem by using mapping->invalidate_lock similarly to other
      filesystems. Note that using invalidate_lock also fixes a similar race
      wrt ->readpage().
      
      CC: Jeff Layton <jlayton@kernel.org>
      CC: ceph-devel@vger.kernel.org
      Reviewed-by: NJeff Layton <jlayton@kernel.org>
      Signed-off-by: NJan Kara <jack@suse.cz>
      057ba5b2
  4. 29 6月, 2021 3 次提交
  5. 28 4月, 2021 10 次提交
  6. 16 2月, 2021 1 次提交
  7. 15 12月, 2020 2 次提交
  8. 12 10月, 2020 9 次提交
  9. 05 8月, 2020 1 次提交
  10. 01 6月, 2020 1 次提交
  11. 30 3月, 2020 3 次提交
  12. 16 9月, 2019 5 次提交
  13. 22 8月, 2019 1 次提交
  14. 08 7月, 2019 1 次提交