From: Vasily Tarasov Date: Tue, 9 Jan 2007 15:21:16 +0000 (+0100) Subject: [PATCH] Missed fixups wrt Bounce and Backmerge X-Git-Tag: blktrace-0.99.3~37 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=0ac4c20e46fc644b1ac9e3021e3ebaa88b9c536f;p=blktrace.git [PATCH] Missed fixups wrt Bounce and Backmerge Signed-off-by: Jens Axboe --- diff --git a/README b/README index afef0c4..741b8f6 100644 --- a/README +++ b/README @@ -109,13 +109,13 @@ $ blkparse -i [ -o ] [ -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; }