Debian Codegraph @

changelog/0.9.3_2018-10-13/issue-1909

raw
1 Enhancement: Reject files/dirs by name first
2
3 The current scanner/archiver code had an architectural limitation: it always
4 ran the `lstat()` system call on all files and directories before a decision to
5 include/exclude the file/dir was made. This lead to a lot of unnecessary system
6 calls for items that could have been rejected by their name or path only.
7
8 We've changed the archiver/scanner implementation so that it now first rejects
9 by name/path, and only runs the system call on the remaining items. This
10 reduces the number of `lstat()` system calls a lot (depending on the exclude
11 settings).
12
13 https://github.com/restic/restic/issues/1909
14 https://github.com/restic/restic/pull/1912