From 6715cca205f814d6cc3e984fed140cfe67ce02f1 Mon Sep 17 00:00:00 2001 From: Ankit Kumar Date: Wed, 17 Jul 2024 19:40:03 +0530 Subject: [PATCH] dataplacement: change log_info to log_err for error messages Signed-off-by: Ankit Kumar --- dataplacement.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dataplacement.c b/dataplacement.c index 2286a2cdf..399659bee 100644 --- a/dataplacement.c +++ b/dataplacement.c @@ -71,16 +71,16 @@ static int init_ruh_info(struct thread_data *td, struct fio_file *f) ruhs = calloc(1, sizeof(*ruhs)); ret = fdp_ruh_info(td, f, ruhs); if (ret) { - log_info("fio: ruh info failed for %s (%d)\n", - f->file_name, -ret); + log_err("fio: ruh info failed for %s (%d)\n", + f->file_name, -ret); goto out; } nr_ruhs = ruhs->nr_ruhs; ruhs = realloc(ruhs, sizeof(*ruhs) + nr_ruhs * sizeof(*ruhs->plis)); if (!ruhs) { - log_info("fio: ruhs buffer realloc failed for %s\n", - f->file_name); + log_err("fio: ruhs buffer realloc failed for %s\n", + f->file_name); ret = -ENOMEM; goto out; } @@ -88,8 +88,8 @@ static int init_ruh_info(struct thread_data *td, struct fio_file *f) ruhs->nr_ruhs = nr_ruhs; ret = fdp_ruh_info(td, f, ruhs); if (ret) { - log_info("fio: ruh info failed for %s (%d)\n", - f->file_name, -ret); + log_err("fio: ruh info failed for %s (%d)\n", + f->file_name, -ret); goto out; } @@ -151,7 +151,7 @@ static int init_ruh_scheme(struct thread_data *td, struct fio_file *f) if (!scheme_fp) { log_err("fio: ruh scheme failed to open scheme file %s\n", - td->o.dp_scheme_file); + td->o.dp_scheme_file); ret = -errno; goto out; }