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

Docs: clarify parallel-direct-writes and cache.files #1235

Merged
merged 3 commits into from
Aug 26, 2023

Conversation

DavidFair
Copy link
Contributor

@DavidFair DavidFair commented Aug 26, 2023

Clarifies some points around cache.files and parallel-direct-writes. See commit messages for details:

Tl;dr:

  • Make it clear which kernel versions support parallel-direct-writes
    - Steer people to use cache.files=off instead of direct_io
    - Clarify which each cache.files implies, so people with existing mount options can (hopefully) say, I can consolidate my mount flags into cache.files=foo
  • Make it clear that per-process will act the same as cache.files=off is the process name does not match

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Clarify that paralell direct can only be enabled where the kernel
version supports it, which is 6.2+.

State the two cache.files modes which can support parallel direct writes
in the description.
This makes it clear, along with the previous commit, that per-process will allow
us to use parallel direct writes as they will mount with the equivalent
of cache.files=off (i.e. direct_io)
Change which 'comm' name -> whose 'comm' name.
Whose implies possession, and the process possess the name we're
matching
@DavidFair
Copy link
Contributor Author

Brill, I was tempted to drop direct_io mentions in the section initially but didn't want to go ahead without that feedback.
I've also added a small bit on per-process as I had to lookup the behaviour myself when the process name didn't match

@trapexit trapexit merged commit 82781b6 into trapexit:master Aug 26, 2023
26 of 40 checks passed
@DavidFair DavidFair deleted the readme_direct_parallel branch August 30, 2023 23:55
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

Successfully merging this pull request may close these issues.

None yet

2 participants