summaryrefslogtreecommitdiff
path: root/fs/xfs/libxfs
diff options
context:
space:
mode:
authorBrian Foster <bfoster@redhat.com>2017-08-29 20:08:37 +0300
committerDarrick J. Wong <darrick.wong@oracle.com>2017-09-01 20:55:30 +0300
commite9385cc6fb7edf23702de33a2dc82965d92d9392 (patch)
tree33ec46dcda0ed78ee32af24ecba153de8789006c /fs/xfs/libxfs
parent6453c65d3576bc3e602abb5add15f112755c08ca (diff)
downloadlinux-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