summaryrefslogtreecommitdiff
path: root/bugs/should-not-ignore-whole-directory-when-lstat-on-one-file-fails.mdwn
blob: e2af811581020ddc5d4a8193e3211c1f80606283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[[!tag obnam-1.0-blocker]]

`VFS.scan_tree` uses `listdir2`, for performance, and that does `lstat`
for each file. If the `lstat` fails, `listdir2` fails, and `scan_tree`
pretends the entire directory is empty. That's a problem: it should
skip only the items for which `lstat` failed.

FUSE can cause the `lstat` to fail.

Thanks, weasel, for spotting the problem and trying things until we found
the reason why his home directory was getting ignored.

--liw

[[done]] in current bzr