From: Ankit Kumar Date: Wed, 17 Jul 2024 14:10:03 +0000 (+0530) Subject: dataplacement: change log_info to log_err for error messages X-Git-Tag: fio-3.38~41^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=6715cca205f814d6cc3e984fed140cfe67ce02f1;p=fio.git dataplacement: change log_info to log_err for error messages Signed-off-by: Ankit Kumar --- diff --git a/dataplacement.c b/dataplacement.c index 2286a2cd..399659be 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; }