Skip to content
New issue

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

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

Already on GitHub? # to your account

Add nobarrier and lazytime boot options #12

Merged
merged 2 commits into from
Mar 9, 2024
Merged

Add nobarrier and lazytime boot options #12

merged 2 commits into from
Mar 9, 2024

Conversation

kawaii-ghost
Copy link
Contributor

nobarrier

On a device with a volatile battery-backed write-back cache, the nobarrier option will not lead to filesystem corruption as the pending blocks are supposed to make it to the permanent storage.

So as long powerloss didn't happen it's totally fine :).

lazytime

This mount option significantly reduces writes to the inode table for workloads that perform frequent random writes to preallocated files.

@sn99
Copy link
Owner

sn99 commented Mar 3, 2024

Hi, thanks for the PR, I will have a better look soon, on surface level 'nobarrier' looks a bit risky but again nothing that can be incorporated in the guide after all.

@sn99
Copy link
Owner

sn99 commented Mar 4, 2024

@kawaii-ghost can you add a collapsable warning section indicating what these 2 options do.

@sn99 sn99 self-requested a review March 4, 2024 10:41
README.md Show resolved Hide resolved
@sn99 sn99 merged commit 154fe16 into sn99:master Mar 9, 2024
@kawaii-ghost
Copy link
Contributor Author

Sorry, I just noticed that I double typed description about nobarrier. Should I submit new PR?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants