mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 07:35:36 -05:00
The ios map populated by seq_io.bt is never read, so remove it. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
25 lines
457 B
Plaintext
25 lines
457 B
Plaintext
/*
|
|
$1: dev_t
|
|
$2: RWBS
|
|
$3: strlen($2)
|
|
*/
|
|
BEGIN {
|
|
@last_rw[$1, str($2)] = (uint64)0;
|
|
}
|
|
tracepoint:block:block_rq_complete
|
|
{
|
|
$dev = $1;
|
|
if ((int64)args.dev == $1 && !strncmp(args.rwbs, str($2), $3)) {
|
|
$last = @last_rw[$dev, str($2)];
|
|
if ((uint64)args.sector != $last) {
|
|
printf("io_out_of_order: exp %llu actual %llu\n",
|
|
args.sector, $last);
|
|
}
|
|
@last_rw[$dev, str($2)] = (args.sector + args.nr_sector);
|
|
}
|
|
}
|
|
|
|
END {
|
|
clear(@last_rw);
|
|
}
|