]> git.ipfire.org Git - people/ms/linux.git/commit - fs/xfs/xfs_buf.h
xfs: mark dquot buffers in cache
authorDave Chinner <david@fromorbit.com>
Mon, 29 Jun 2020 21:48:46 +0000 (14:48 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 6 Jul 2020 17:46:58 +0000 (10:46 -0700)
commit0c7e5afbea9962bc65c54337c30559bf913a97d6
treec4c1f8faeb60687ab3d8a70467bf90437e0b66a7
parentf593bf144c7dfee9715aa787ebbbe5dd8882e8e9
xfs: mark dquot buffers in cache

dquot buffers always have write IO callbacks, so by marking them
directly we can avoid needing to attach ->b_iodone functions to
them. This avoids an indirect call, and makes future modifications
much simpler.

This is largely a rearrangement of the code at this point - no IO
completion functionality changes at this point, just how the
code is run is modified.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_buf.c
fs/xfs/xfs_buf.h
fs/xfs/xfs_buf_item.c
fs/xfs/xfs_buf_item.h
fs/xfs/xfs_dquot.c
fs/xfs/xfs_trans_buf.c