1. 04 2月, 2021 1 次提交
    • D
      xfs: reserve data and rt quota at the same time · 02b7ee4e
      Darrick J. Wong 提交于
      Modify xfs_trans_reserve_quota_nblks so that we can reserve data and
      realtime blocks from the dquot at the same time.  This change has the
      theoretical side effect that for allocations to realtime files we will
      reserve from the dquot both the number of rtblocks being allocated and
      the number of bmbt blocks that might be needed to add the mapping.
      However, since the mount code disables quota if it finds a realtime
      device, this should not result in any behavior changes.
      
      Now that we've moved the inode creation callers away from using the
      _nblks function, we can repurpose the (now unused) ninos argument for
      realtime blocks, so make that change.  This also replaces the flags
      argument with a boolean parameter to force the reservation since we
      don't need to distinguish between data and rt quota reservations any
      more, and the only flag being passed in was FORCE_RES.
      Signed-off-by: NDarrick J. Wong <djwong@kernel.org>
      Reviewed-by: NChristoph Hellwig <hch@lst.de>
      Reviewed-by: NBrian Foster <bfoster@redhat.com>
      02b7ee4e
  2. 23 1月, 2021 1 次提交
  3. 16 9月, 2020 1 次提交
  4. 29 7月, 2020 20 次提交
  5. 20 5月, 2020 2 次提交
  6. 03 3月, 2020 12 次提交
  7. 10 1月, 2020 2 次提交
  8. 23 11月, 2019 1 次提交