Skip to content

speculative preallocation quota throttling

Brian Foster linux-xfs 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest6 patches 1 replyIn review
  2. v46 patches 9 repliesSuperseded
  3. v37 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches0 repliesSuperseded

Changes in v5 from the cover letter

- Rebased against current tree (3.9-rc1), incl. e78c420b.
- Added Mark's reviewed-by's.
- Removed use of typedef's in modified functions (affects patches 3 and 4). v4:
- Drop patch 3/7 from v3 (xfs: cap prealloc size to free space before shift).
- Several updates to patch 4/6:
- Rename xfs_dquot_init_prealloc() to xfs_dquot_set_prealloc_limits().
- Unroll the prealloc threshold loop and remove the increment def.
- Fix up some comments.

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6xfs: reorganize xfs_iomap_prealloc_size to remove indentationfs/xfs/xfs_iomap.c+32 -310 replies
2/6xfs: push rounddown_pow_of_two() to after prealloc throttlefs/xfs/xfs_iomap.c+17 -20 replies
3/6xfs: pass xfs_dquot to xfs_qm_adjust_dqlimits() instead of xfs_disk_dquot_tfs/xfs/xfs_dquot.c fs/xfs/xfs_dquot.h fs/xfs/xfs_qm.c +1 more+12 -110 replies
4/6xfs: xfs_dquot prealloc throttling watermarks and low free spacefs/xfs/xfs_dquot.c fs/xfs/xfs_dquot.h fs/xfs/xfs_qm.h +1 more+57 -70 replies
5/6xfs: add quota-driven speculative preallocation throttlingfs/xfs/xfs_iomap.c+82 -00 replies
6/6xfs: xfs_iomap_prealloc_size() tracepointfs/xfs/xfs_iomap.c fs/xfs/xfs_trace.h+27 -00 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchMark TinguelyBen MyersDave Chinner
1/6R-b R-b R-b
2/6R-b R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v5 thread

Cover letter [PATCH v5 0/6] speculative preallocation quota throttling

Hi all,

Here is v5 of speculative prealloc. quota throttling. Sorry for the delay. This is mostly a rebase. I'm running some quick xfstests tests since we've moved onto 3.9-rc1 now, but the only real merge conflict was inheritance of the infinite loop alloc_blocks fix. Otherwise, this just includes some extra fixups to remove dependence on typedef's of various functions we happen to modify.

Brian

v5:
- Rebased against current tree (3.9-rc1), incl. e78c420b.
- Added Mark's reviewed-by's.
- Removed use of typedef's in modified functions (affects patches 3 and 4). v4:
- Drop patch 3/7 from v3 (xfs: cap prealloc size to free space before shift).
- Several updates to patch 4/6:
- Rename xfs_dquot_init_prealloc() to xfs_dquot_set_prealloc_limits().
- Unroll the prealloc threshold loop and remove the increment def.
- Fix up some comments.
v3:
- Rebased on top of updated speculative preallocation algorithm. v2:
- Fix up xfs_iomap_prealloc_size() rounding (patch 2).
- Add pre-calculated fields to xfs_dquot to support throttling.
- Move to logarithmic (shift) throttler and finer tuned trigger/throttle logic.

Brian Foster (6):
xfs: reorganize xfs_iomap_prealloc_size to remove indentation
xfs: push rounddown_pow_of_two() to after prealloc throttle
xfs: pass xfs_dquot to xfs_qm_adjust_dqlimits() instead of
xfs_disk_dquot_t
xfs: xfs_dquot prealloc throttling watermarks and low free space
xfs: add quota-driven speculative preallocation throttling
xfs: xfs_iomap_prealloc_size() tracepoint

 fs/xfs/xfs_dquot.c       |   48 ++++++++++++--
 fs/xfs/xfs_dquot.h       |   16 ++++-
 fs/xfs/xfs_iomap.c       |  161 +++++++++++++++++++++++++++++++++++++---------
 fs/xfs/xfs_qm.c          |    2 +-
 fs/xfs/xfs_qm.h          |    2 +-
 fs/xfs/xfs_qm_syscalls.c |    9 ++-
 fs/xfs/xfs_trace.h       |   24 +++++++
 fs/xfs/xfs_trans_dquot.c |   10 ++--
 8 files changed, 224 insertions(+), 48 deletions(-)
Signature · 6 lines
1.7.7.6

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs