diff options
author | Brian Foster <bfoster@redhat.com> | 2017-08-29 20:08:37 +0300 |
---|---|---|
committer | Darrick J. Wong <darrick.wong@oracle.com> | 2017-09-01 20:55:30 +0300 |
commit | e9385cc6fb7edf23702de33a2dc82965d92d9392 (patch) | |
tree | 33ec46dcda0ed78ee32af24ecba153de8789006c /fs/xfs/libxfs | |
parent | 6453c65d3576bc3e602abb5add15f112755c08ca (diff) | |
download | linux-e9385cc6fb7edf23702de33a2dc82965d92d9392.tar.xz |
xfs: ordered buffer log items are never formatted
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>
Diffstat (limited to 'fs/xfs/libxfs')
0 files changed, 0 insertions, 0 deletions