containers / containers/fuse-overlayfs

Avoid whiteout lookup on lower

Open
#436 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
691
Forks
109
Avg merge
5d 7h
Merged PRs (30d)
2

Description

I am trying to mount a s3 bucked as the lower to overlayfs.

Unfortunately, after mounting with fuse-overlayfs, mount-s3 report 1000s of .wh.XXX lookup and is completely overwhelmed. Is there a way to avoid this?

``` bash
mount-s3 --read-only --cache /tmp/s3-cache my-bucket -f -d ~/mnt_s3/my-bucket_lower

fuse-overlayfs -o lowerdir=~/mnt_s3/my-bucket_lower,upperdir=~/mnt_s3/my-bucket_upper,workdir=~/mnt_s3/my-bucket_working ~/mnt_s3/my-bucket
```

This works with `sudo mount -t overlay overlay..`, but I want a fuse option.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with the mount-s3 and fuse-overlayfs commands shown, then trace how lowerdir whiteout lookups are handled. Done means identifying a supported fuse option or behavior that prevents the reported .wh.XXX lookup flood while preserving overlay functionality.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.