xfs: replace xfs_mod_incore_sb_batched
authorDave Chinner <dchinner@redhat.com>
Mon, 23 Feb 2015 10:24:11 +0000 (21:24 +1100)
committerDave Chinner <david@fromorbit.com>
Mon, 23 Feb 2015 10:24:11 +0000 (21:24 +1100)
commit0bd5ddedccca4451ac2390d1155b4ab74b990eff
tree2ce9d784ac9ccb57f99f03b2394f4b438a937830
parentbab98bbe6e1e38bf2fa5018a195608553095f51b
xfs: replace xfs_mod_incore_sb_batched

Introduce helper functions for modifying fields in the superblock
into xfs_trans.c, the only caller of xfs_mod_incore_sb_batch().  We
can then use these directly in xfs_trans_unreserve_and_mod_sb() and
so remove another user of the xfs_mode_incore_sb() API without
losing any functionality or scalability of the transaction commit
code..

Based on a patch from Christoph Hellwig.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fs/xfs/xfs_mount.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_trans.c
This page took 0.045711 seconds and 5 git commands to generate.