summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0e684e9)
no matter if direct was 1 or 0, it's not necessary.
It's either covered by non-temporal stores or it's not desired
by user (if 0 was set).
Signed-off-by: Łukasz Stolarczuk <lukasz.stolarczuk@intel.com>
int ret = 0;
dprint(FD_IO, "DEBUG fio_libpmem_close_file\n");
int ret = 0;
dprint(FD_IO, "DEBUG fio_libpmem_close_file\n");
- dprint(FD_IO, "td->o.odirect %d\n", td->o.odirect);
-
- if (!td->o.odirect) {
- dprint(FD_IO,"pmem_drain\n");
- pmem_drain();
- }
if (fdd->libpmem_ptr)
ret = pmem_unmap(fdd->libpmem_ptr, fdd->libpmem_sz);
if (fdd->libpmem_ptr)
ret = pmem_unmap(fdd->libpmem_ptr, fdd->libpmem_sz);