Skip to content

make bsdflags linux code fd-based#3961

Merged
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
ThomasWaldmann:flags-fd-based
Jul 7, 2018
Merged

make bsdflags linux code fd-based#3961
ThomasWaldmann merged 1 commit intoborgbackup:masterfrom
ThomasWaldmann:flags-fd-based

Conversation

@ThomasWaldmann
Copy link
Copy Markdown
Member

based on PR #3960.

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jul 6, 2018

Codecov Report

Merging #3961 into master will decrease coverage by 0.09%.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #3961     +/-   ##
========================================
- Coverage    85.2%   85.1%   -0.1%     
========================================
  Files          37      37             
  Lines        9185    9185             
  Branches     1527    1527             
========================================
- Hits         7826    7817      -9     
- Misses        923     930      +7     
- Partials      436     438      +2
Impacted Files Coverage Δ
src/borg/archive.py 83.34% <100%> (-0.15%) ⬇️
src/borg/platform/base.py 82.72% <100%> (ø) ⬆️
src/borg/archiver.py 84.6% <0%> (-0.4%) ⬇️

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 2dd22df...018b62c. Read the comment docs.

this optimization is only needed for linux, the bsd-like platforms
do not need an open file to run a ioctl against, but have bsdflags
in the stat result already.

on linux, this optimization saves 1 file open/close per input file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants