Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate unnecessary writes #1

Open
InnovativeInventor opened this issue Jan 7, 2023 · 1 comment
Open

Investigate unnecessary writes #1

InnovativeInventor opened this issue Jan 7, 2023 · 1 comment

Comments

@InnovativeInventor
Copy link
Owner

When viewing the logs of a git clone operation, there appears to be unnecessary writes occurring:

[2023-01-07T17:48:25Z DEBUG fuser::request] FUSE(5330) ino 0x0000000000000162 WRITE fh FileHandle(55), offse
t 200703, size 1, write flags 0x0
[2023-01-07T17:48:25Z DEBUG fuser::request] FUSE(5332) ino 0x0000000000000162 WRITE fh FileHandle(55), offse
t 200704, size 4095, write flags 0x0
[repeat]

Why are writes of size 1 occurring? Is this standard practice? Or, this could be an upstream issue.

@InnovativeInventor
Copy link
Owner Author

Looks like this originates from aligned_sub_buf here:
https://github.com/cberner/fuser/blob/6b76fd1f9cc8caef0ffa057f3e0879c940c9aab8/src/session.rs#L181

This may be reasonable behavior, then (or perhaps an off-by-one issue).

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

No branches or pull requests

1 participant