diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2006-12-01 10:51:31 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2006-12-01 10:51:31 +0100 |
commit | 001b263355c68e219fb64d25564c41a0ee07a274 (patch) | |
tree | 635e6489da1f8d58492ac25fa642083ae6386233 /btt/trace_requeue.c | |
parent | 095181f283c440c7669f2c14aef5e84c80ff433e (diff) | |
download | blktrace-001b263355c68e219fb64d25564c41a0ee07a274.tar.gz blktrace-001b263355c68e219fb64d25564c41a0ee07a274.tar.bz2 |
[PATCH] BTT patch: (3/3) time bounded trace analysis
Added in -t and -T options to allow bounding of traces analyzed. Be
forewarned: this can result in some excessive numbers of orphaned traces
(partial IO streams before the -t tiem and after the -T time won't
be analyzed).
Signed-off-by: Alan D. Brunelle <Alan.Brunelle@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'btt/trace_requeue.c')
-rw-r--r-- | btt/trace_requeue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/btt/trace_requeue.c b/btt/trace_requeue.c index 66f3b05..55bb3f4 100644 --- a/btt/trace_requeue.c +++ b/btt/trace_requeue.c @@ -38,7 +38,6 @@ int retry_requeue(struct io *r_iop) if (!ready_requeue(r_iop, r_iop)) return 0; - del_retry(r_iop); run_requeue(r_iop); return 1; } @@ -60,6 +59,7 @@ void run_requeue(struct io *r_iop) run_unissue(d_iop, &del_head); __unlink(d_iop, r_iop); + del_retry(r_iop); list_add_tail(&r_iop->f_head, &del_head); release_iops(&del_head); } |