diff options
author | Brian Foster <bfoster@redhat.com> | 2017-09-17 21:07:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-09-20 06:20:01 (GMT) |
commit | 93b64516019249fa196cc3cf4c9040270cf4106f (patch) | |
tree | 1679a3dba69a6545be1ef33d94014edbf96b6c4f /mm | |
parent | ba986b3c84987bbc5e52d8ab83a851e613ce4001 (diff) | |
download | linux-93b64516019249fa196cc3cf4c9040270cf4106f.tar.xz |
xfs: ordered buffer log items are never formatted
commit e9385cc6fb7edf23702de33a2dc82965d92d9392 upstream.
Ordered buffers pass through the logging infrastructure without ever
being written to the log. The way this works is that the ordered
buffer status is transferred to the log vector at commit time via
the ->iop_size() callback. In xlog_cil_insert_format_items(),
ordered log vectors bypass ->iop_format() processing altogether.
Therefore it is unnecessary for xfs_buf_item_format() to handle
ordered buffers. Remove the unnecessary logic and assert that an
ordered buffer never reaches this point.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions