graph: use 0 as the floor for the line graph
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 09:17:08 +0000 (10:17 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 09:17:08 +0000 (10:17 +0100)
commit5aec66804d2a6d60aee8d973680c69b13c1d34a3
treee6bfb67414f89c37e1b143404d29a0e66c30ddbc
parent9af4a24408ea7d4cea084a4fe214b81145cc36ac
graph: use 0 as the floor for the line graph

Unless we have values below 0, in which case use that.

This makes it easier to visually compare a running read/write
workload. Without this change, the lowest valued graph would define
the floor of the graph view.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
graph.c