From 0ac4c20e46fc644b1ac9e3021e3ebaa88b9c536f Mon Sep 17 00:00:00 2001 From: Vasily Tarasov Date: Tue, 9 Jan 2007 16:21:16 +0100 Subject: [PATCH] [PATCH] Missed fixups wrt Bounce and Backmerge Signed-off-by: Jens Axboe --- README | 4 ++-- blkparse_fmt.c | 9 +-------- 2 files changed, 3 insertions(+), 10 deletions(-) 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; } -- 2.25.1