X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=filesetup.c;h=678e8365432ad94b8b7bd9e41170204901f1eef7;hp=0a4e77ef33e3aef63b597cc9af118d19b54a0fa9;hb=8ab538730857ce3a29c5f00fb55b967468751ec9;hpb=bbf6b5401cdc0b20c405a064356ab0abb27c52d0;ds=sidebyside diff --git a/filesetup.c b/filesetup.c index 0a4e77ef..678e8365 100644 --- a/filesetup.c +++ b/filesetup.c @@ -299,6 +299,8 @@ int generic_open_file(struct thread_data *td, struct fio_file *f) td_verror(td, __e, "open"); if (__e == EINVAL && td->odirect) log_err("fio: destination does not support O_DIRECT\n"); + if (__e == EMFILE) + log_err("fio: try reducing/setting openfiles (failed at %u of %u)\n", td->nr_open_files, td->nr_files); return 1; }