1. 08 4月, 2021 6 次提交
  2. 04 2月, 2021 5 次提交
  3. 24 1月, 2021 3 次提交
  4. 07 10月, 2020 1 次提交
    • D
      xfs: fix deadlock and streamline xfs_getfsmap performance · 8ffa90e1
      Darrick J. Wong 提交于
      Refactor xfs_getfsmap to improve its performance: instead of indirectly
      calling a function that copies one record to userspace at a time, create
      a shadow buffer in the kernel and copy the whole array once at the end.
      On the author's computer, this reduces the runtime on his /home by ~20%.
      
      This also eliminates a deadlock when running GETFSMAP against the
      realtime device.  The current code locks the rtbitmap to create
      fsmappings and copies them into userspace, having not released the
      rtbitmap lock.  If the userspace buffer is an mmap of a sparse file that
      itself resides on the realtime device, the write page fault will recurse
      into the fs for allocation, which will deadlock on the rtbitmap lock.
      
      Fixes: 4c934c7d ("xfs: report realtime space information via the rtbitmap")
      Signed-off-by: NDarrick J. Wong <darrick.wong@oracle.com>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NChandan Babu R <chandanrlinux@gmail.com>
      8ffa90e1
  5. 16 9月, 2020 2 次提交
  6. 29 7月, 2020 1 次提交
  7. 30 5月, 2020 2 次提交
  8. 27 5月, 2020 1 次提交
  9. 20 5月, 2020 1 次提交
  10. 05 5月, 2020 2 次提交
  11. 13 4月, 2020 1 次提交
  12. 19 3月, 2020 2 次提交
  13. 03 3月, 2020 13 次提交