diff options
author | Brian Foster <bfoster@redhat.com> | 2018-08-01 07:20:32 -0700 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2018-08-02 23:05:13 -0700 |
commit | 82ff27bc52a88cb5cc400bfa64e210d3ec8dfebd (patch) | |
tree | eab2a904953ffc246e955cf610f151cc8f5bf40b /.cocciconfig | |
parent | 488c919a5bec3be4b8613898de6958043edbb8d9 (diff) | |
download | blackbird-obmc-linux-82ff27bc52a88cb5cc400bfa64e210d3ec8dfebd.tar.gz blackbird-obmc-linux-82ff27bc52a88cb5cc400bfa64e210d3ec8dfebd.zip |
xfs: automatic dfops buffer relogging
Buffers that are held across deferred operations are explicitly
joined to the dfops structure to ensure appropriate relogging.
While buffers are currently joined explicitly, we can detect the
conditions that require relogging at dfops finish time by inspecting
the transaction item list for held buffers.
Replace the xfs_defer_bjoin() infrastructure with such detection and
automatic relogging of held buffers. This eliminates the need for
the per-dfops buffer list, replaced by an on-stack variant in
xfs_defer_trans_roll().
Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions