diff options
author | Vasily Tarasov <vtaras@openvz.org> | 2007-01-09 16:21:16 +0100 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-01-09 16:21:16 +0100 |
commit | 0ac4c20e46fc644b1ac9e3021e3ebaa88b9c536f (patch) | |
tree | 4309941d26b00ad5d493dc85dd0776a53cf4c03c | |
parent | 7d34075678b7ed1dd2026831b46175b1b6247885 (diff) | |
download | blktrace-0ac4c20e46fc644b1ac9e3021e3ebaa88b9c536f.tar.gz blktrace-0ac4c20e46fc644b1ac9e3021e3ebaa88b9c536f.tar.bz2 |
[PATCH] Missed fixups wrt Bounce and Backmerge
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | blkparse_fmt.c | 9 |
2 files changed, 3 insertions, 10 deletions
@@ -109,13 +109,13 @@ $ blkparse -i <input> [ -o <output> ] [ -b rb_batch ] [ -s ] [ -t ] [ -q ] -F Format specification. The individual specifiers are: A - Remap - B - Back merge + B - Bounce C - Complete D - Issue + M - Back merge F - Front merge G - Get request I - Insert - M - Both front and back merge P - Plug Q - Queue R - Requeue diff --git a/blkparse_fmt.c b/blkparse_fmt.c index b309b4b..4560e56 100644 --- a/blkparse_fmt.c +++ b/blkparse_fmt.c @@ -49,14 +49,7 @@ int add_format_spec(char *option) return 1; } - /* - * Set both merges (front and back) - */ - if (spec == 'M') { - override_format['B'] = strdup(option); - override_format['M'] = strdup(option); - } else - override_format[spec] = strdup(option); + override_format[spec] = strdup(option); return 0; } |