[PATCH 3/3] [PATCH 3/3] xfs: do not use xfs_mod_incore_sb_batch for per-cpu counters

Alex Elder aelder at sgi.com
Fri Oct 1 08:56:51 CDT 2010


On Wed, 2010-09-29 at 22:25 -0400, Christoph Hellwig wrote:
> plain text document attachment (xfs-simplify-icsb-updates)
> Update the per-cpu counters manually in xfs_trans_unreserve_and_mod_sb and
> remove support for per-cpu counters from xfs_mod_incore_sb_batch to
> simplify it.  And added benefit is that we don't have to take m_sb_lock
> for transactions that only modify per-cpu counters.
> 
> Signed-off-by: Christoph Hellwig <hch at lst.de>

Looks good.  I'll pull this series in today.

Reviewed-by: Alex Elder <aelder at sgi.com>





More information about the xfs mailing list