summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README6
-rw-r--r--init.c2
2 files changed, 5 insertions, 3 deletions
diff --git a/README b/README
index 7a49dda5..480f1d0e 100644
--- a/README
+++ b/README
@@ -141,9 +141,11 @@ always parsed and taken into account.
Fio has an internal allocator for shared memory called smalloc. It
allocates shared structures from this pool. The pool defaults to 1024k
-in size, and can grow to 32 pools. If running large jobs with randommap
+in size, and can grow to 128 pools. If running large jobs with randommap
enabled it can run out of memory, in which case the --alloc-size switch
-is handy for starting with a larger pool size.
+is handy for starting with a larger pool size. The backing store is
+files in /tmp. Fio cleans up after itself, while it is running you
+may see .fio_smalloc.* files in /tmp.
Job file
diff --git a/init.c b/init.c
index 6fdd2116..4ae3baf0 100644
--- a/init.c
+++ b/init.c
@@ -608,7 +608,7 @@ static int skip_this_section(const char *name)
if (!strncmp(name, "global", 6))
return 0;
- return strncmp(job_section, name, strlen(job_section));
+ return strcmp(job_section, name);
}
static int is_empty_or_comment(char *line)