summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README4
-rw-r--r--blkparse_fmt.c9
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 <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;
}