stats: Add hint information to per priority level stats
[fio.git] / engines / libzbc.c
index 2b63ef1acaa0b4624b80206893f3c6f6c74fb618..1bf1e8c8d838c4b7a954bf92d62ea21cf2b2b811 100644 (file)
@@ -68,18 +68,9 @@ static int libzbc_open_dev(struct thread_data *td, struct fio_file *f,
                if (!read_only)
                        flags |= O_RDWR;
        } else if (td_read(td)) {
-               if (f->filetype == FIO_TYPE_CHAR && !read_only)
-                       flags |= O_RDWR;
-               else
                        flags |= O_RDONLY;
        }
 
-       if (td->o.oatomic) {
-               td_verror(td, EINVAL, "libzbc does not support O_ATOMIC");
-               log_err("%s: libzbc does not support O_ATOMIC\n", f->file_name);
-               return -EINVAL;
-       }
-
        ld = calloc(1, sizeof(*ld));
        if (!ld)
                return -ENOMEM;