diff options
author | Alex Elder <[email protected]> | 2012-10-10 18:59:29 -0700 |
---|---|---|
committer | Alex Elder <[email protected]> | 2012-10-26 17:18:08 -0500 |
commit | ff2e4bb5b32f89c455979a4222a9b78007cde254 (patch) | |
tree | b50576687902d04a47ab1a9347f054a55b05ebce /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | 13f4042c05b6a1a638ccab3f0cabdb84993803a2 (diff) |
rbd: drop rbd_do_op() opcode and flags
The only callers of rbd_do_op() are in rbd_rq_fn(), where call one
is used for writes and the other used for reads. The request passed
to rbd_do_op() already encodes the I/O direction, and that
information can be used inside the function to set the opcode and
flags value (rather than passing them in as arguments).
So get rid of the opcode and flags arguments to rbd_do_op().
Signed-off-by: Alex Elder <[email protected]>
Reviewed-by: Josh Durgin <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions