pmem / pmemfile

Userspace implementation of file APIs using persistent memory.
Other
34 stars 21 forks source link

posix: fix creation of temporary files in directory other than / #429

Closed marcinslusarz closed 7 years ago

marcinslusarz commented 7 years ago

This change is Reviewable

codecov[bot] commented 7 years ago

Codecov Report

Merging #429 into master will increase coverage by 0.68%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #429      +/-   ##
==========================================
+ Coverage   75.42%   76.11%   +0.68%     
==========================================
  Files          70       70              
  Lines        8805     8812       +7     
  Branches     1779     1781       +2     
==========================================
+ Hits         6641     6707      +66     
+ Misses       1670     1611      -59     
  Partials      494      494
Flag Coverage Δ
#ltp_tests 44.97% <60%> (+0.21%) :arrow_up:
#sqlite_tests 44.93% <60%> (?)
#tests_antool 15.05% <0%> (-0.02%) :arrow_down:
#tests_posix_multi_threaded 25.51% <70%> (+0.02%) :arrow_up:
#tests_posix_single_threaded 53.47% <100%> (-0.02%) :arrow_down:
#tests_preload 44.51% <60%> (+0.03%) :arrow_up:
Impacted Files Coverage Δ
src/libpmemfile-posix/file.c 74.53% <100%> (+1.03%) :arrow_up:
src/libpmemfile-posix/utils.c 66.66% <0%> (-5%) :arrow_down:
src/libpmemfile-posix/inode.c 89.07% <0%> (+0.33%) :arrow_up:
src/libpmemfile-posix/data.c 94.9% <0%> (+0.39%) :arrow_up:
src/libpmemfile-posix/dir.c 85.53% <0%> (+0.49%) :arrow_up:
src/libpmemfile/vfd_table.c 80.26% <0%> (+0.89%) :arrow_up:
src/libpmemfile/preload.c 51.27% <0%> (+2.3%) :arrow_up:
src/libpmemfile/path_resolve.c 88.69% <0%> (+2.38%) :arrow_up:
src/libpmemfile/libpmemfile-posix-wrappers.h 68.53% <0%> (+3.37%) :arrow_up:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 13b6a1b...f60769a. Read the comment docs.

codecov[bot] commented 7 years ago

Codecov Report

Merging #429 into master will increase coverage by 0.68%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #429      +/-   ##
==========================================
+ Coverage   75.42%   76.11%   +0.68%     
==========================================
  Files          70       70              
  Lines        8805     8812       +7     
  Branches     1779     1781       +2     
==========================================
+ Hits         6641     6707      +66     
+ Misses       1670     1611      -59     
  Partials      494      494
Flag Coverage Δ
#ltp_tests 44.97% <60%> (+0.21%) :arrow_up:
#sqlite_tests 44.93% <60%> (?)
#tests_antool 15.05% <0%> (-0.02%) :arrow_down:
#tests_posix_multi_threaded 25.51% <70%> (+0.02%) :arrow_up:
#tests_posix_single_threaded 53.47% <100%> (-0.02%) :arrow_down:
#tests_preload 44.51% <60%> (+0.03%) :arrow_up:
Impacted Files Coverage Δ
src/libpmemfile-posix/file.c 74.53% <100%> (+1.03%) :arrow_up:
src/libpmemfile-posix/utils.c 66.66% <0%> (-5%) :arrow_down:
src/libpmemfile-posix/inode.c 89.07% <0%> (+0.33%) :arrow_up:
src/libpmemfile-posix/data.c 94.9% <0%> (+0.39%) :arrow_up:
src/libpmemfile-posix/dir.c 85.53% <0%> (+0.49%) :arrow_up:
src/libpmemfile/vfd_table.c 80.26% <0%> (+0.89%) :arrow_up:
src/libpmemfile/preload.c 51.27% <0%> (+2.3%) :arrow_up:
src/libpmemfile/path_resolve.c 88.69% <0%> (+2.38%) :arrow_up:
src/libpmemfile/libpmemfile-posix-wrappers.h 68.53% <0%> (+3.37%) :arrow_up:
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 13b6a1b...f60769a. Read the comment docs.