summary refs log tree commit diff
path: root/block/cfq-iosched.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-06-02 23:00:53 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-06-03 10:15:22 -0400
commitedd813bffc62a980bb4fb9b1243f31c1cce78da3 (patch)
tree45dd8b0ca7b74f05bd545a1c3c7c4d2137f1b1d0 /block/cfq-iosched.c
parenta2023556409cf7fec5d67a26f7fcfa57c5a4086d (diff)
downloadlinux-edd813bffc62a980bb4fb9b1243f31c1cce78da3.tar.gz
ring-buffer: try to discard unneeded timestamps
There are times that a race may happen that we add a timestamp in a
nested write. This timestamp would just contain a zero delta and serves
no purpose.

Now that we have a way to discard events, this patch will try to discard
the timestamp instead of just wasting the space in the ring buffer.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions