summaryrefslogtreecommitdiff
path: root/flow.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2016-09-25 14:22:56 -0600
committerJens Axboe <axboe@fb.com>2016-09-25 14:22:56 -0600
commit81b3c86f086cb2340d1c5596202a307487216b21 (patch)
tree1da4f3704da2fdd57fb6255365ae629606ef23e3 /flow.c
parent0e4a9bc81d0af7358f14a1c2a9bc3351f1b6a0b1 (diff)
smalloc: OOM fixups
Warn directly in smalloc() instead of having the callers do it. Add a hint on how to solve a situation where we run out of shared memory. Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'flow.c')
-rw-r--r--flow.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/flow.c b/flow.c
index e0ac135..42b6dd7 100644
--- a/flow.c
+++ b/flow.c
@@ -58,7 +58,6 @@ static struct fio_flow *flow_get(unsigned int id)
if (!flow) {
flow = smalloc(sizeof(*flow));
if (!flow) {
- log_err("fio: smalloc pool exhausted\n");
fio_mutex_up(flow_lock);
return NULL;
}