xfs: move delayed write buffer trace
authorDave Chinner <dchinner@redhat.com>
Mon, 8 Nov 2010 08:55:05 +0000 (08:55 +0000)
committerAlex Elder <aelder@sgi.com>
Wed, 10 Nov 2010 18:00:48 +0000 (12:00 -0600)
commitbfe2741967eaa3434fa9b3d8f24b1422d4540e7d
treed012589ede1f1d7e571d7dc75868f445531cccf8
parentf83282a8ef799c0bdcb0c32971487087da1bc216
xfs: move delayed write buffer trace

The delayed write buffer split trace currently issues a trace for
every buffer it scans. These buffers are not necessarily queued for
delayed write. Indeed, when buffers are pinned, there can be
thousands of traces of buffers that aren't actually queued for
delayed write and the ones that are are lost in the noise. Move the
trace point to record only buffers that are split out for IO to be
issued on.

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