summaryrefslogtreecommitdiff
path: root/bugs/avoid-stat-for-unchanged-directory.mdwn
blob: d4a95ba3a2fbda83afbba53cbe802b547f18afbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[[!tag obnam-wishlist]]

This is an idea for optimizing Obnam.

Store MD5 of string containing names + relevant metadata of all
files in a directory, then re-compute that when backing up a 
directory: if checksums are same, then no file in the directory
has changed, and there's no need to check each of them separately,
saving many tree lookups

Consider only non-dirs, since subsubdir can change without it being visible
at grandparent level. Thus, recursing is always necessary.

--liw


[[done]] wishlist has been open for years, no change. --liw