add FD_PARSE debug print for size= option (which exists in offset=)
[fio.git] / options.c
index 7431ed8cf188e360760fb0e8ac21bbaee6ec399e..f103fc469899fe38582e57e4d2c78acd81da7fe5 100644 (file)
--- a/options.c
+++ b/options.c
@@ -1410,6 +1410,8 @@ static int str_size_cb(void *data, unsigned long long *__val)
        if (parse_is_percent(v)) {
                td->o.size = 0;
                td->o.size_percent = -1ULL - v;
        if (parse_is_percent(v)) {
                td->o.size = 0;
                td->o.size_percent = -1ULL - v;
+               dprint(FD_PARSE, "SET size_percent %d\n",
+                                       td->o.size_percent);
        } else
                td->o.size = v;
 
        } else
                td->o.size = v;