]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: flag all buffers as metadata
authorChristoph Hellwig <hch@infradead.org>
Tue, 26 Jul 2011 15:06:44 +0000 (15:06 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 27 Jul 2011 03:05:48 +0000 (22:05 -0500)
commit8746b76462ef0f0dce70ba389b6d9f03db486fb0
tree79e2b762ef32be642c5b032ec5ad06166f2132de
parente0a711cee4fcaeef635872e84012f2412852880b
xfs: flag all buffers as metadata

Now that REQ_META bios aren't treated specially in the CFQ I/O schedule
anymore, we can tag all buffers as metadata to make blktrace traces more
meaningful.  Note that we use buffers also to zero out partial blocks
in the preallocation / hole punching code, and while they operate on
data blocks the zeros written certainly aren't data.  I think this case
is borderline metadata enough to not bother special casing it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>
fs/xfs/linux-2.6/xfs_buf.c