Skip to content

Use generic percpu counters in XFS V2

Dave Chinner linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3lib: percpu counter add unless less than functionalityinclude/linux/percpu_counter.h lib/percpu_counter.c+106 -00 replies
2/3xfs: use generic per-cpu counter infrastructurefs/xfs/linux-2.6/xfs_linux.h fs/xfs/linux-2.6/xfs_super.c fs/xfs/xfs_fsops.c +2 more+171 -7191 reply
3/3xfs: demultiplex xfs_icsb_modify_counters()fs/xfs/xfs_bmap.c fs/xfs/xfs_fsops.c fs/xfs/xfs_mount.c +2 more+102 -1231 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/3
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Use generic percpu counters in XFS V2

This series replaces the XFS per-cpu superblock counters with generic per-cpu counters. It adds a specialised operation to the generic counter implementation and then switches the XFS percpu superblock counters over to use the generic percpu counter implementation. The result is several hundred lines of complex code removed from XFS.

Version 2:
- use wrappers for percpu_counter_add_unless_lt() to allow custom batch sizes to be used.
- removed xfs_icsb_*() wrappers from percpu counters.
- cleaned up split of xfs_icsb_modify_counters().

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