projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
engines/sg: move asserts and debug statements behind a debug flag
[fio.git]
/
engines
/
libpmem.c
diff --git
a/engines/libpmem.c
b/engines/libpmem.c
index 3f4e44fb96471936686f5806600505c138896825..21ff4f66d393c3cc9e71998c2137208c20fd5eac 100644
(file)
--- a/
engines/libpmem.c
+++ b/
engines/libpmem.c
@@
-1,5
+1,5
@@
/*
/*
- * libpmem: IO engine that uses
NVML
libpmem to read and write data
+ * libpmem: IO engine that uses
PMDK
libpmem to read and write data
*
* Copyright (C) 2017 Nippon Telegraph and Telephone Corporation.
*
*
* Copyright (C) 2017 Nippon Telegraph and Telephone Corporation.
*
@@
-430,7
+430,7
@@
static int fio_libpmem_prep(struct thread_data *td, struct io_u *io_u)
io_u->buflen, fdd->libpmem_sz);
if (io_u->offset >= fdd->libpmem_off &&
io_u->buflen, fdd->libpmem_sz);
if (io_u->offset >= fdd->libpmem_off &&
- (io_u->offset + io_u->buflen <
+ (io_u->offset + io_u->buflen <
=
fdd->libpmem_off + fdd->libpmem_sz))
goto done;
fdd->libpmem_off + fdd->libpmem_sz))
goto done;
@@
-457,7
+457,8
@@
done:
return 0;
}
return 0;
}
-static int fio_libpmem_queue(struct thread_data *td, struct io_u *io_u)
+static enum fio_q_status fio_libpmem_queue(struct thread_data *td,
+ struct io_u *io_u)
{
fio_ro_check(td, io_u);
io_u->error = 0;
{
fio_ro_check(td, io_u);
io_u->error = 0;