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

Do not send discard when running mkfs.xfs? #3178

Open
leseb opened this issue Nov 22, 2022 · 1 comment
Open

Do not send discard when running mkfs.xfs? #3178

leseb opened this issue Nov 22, 2022 · 1 comment

Comments

@leseb
Copy link
Contributor

leseb commented Nov 22, 2022

This could be interesting for a few reasons:

  • Speed up the fs creation time
  • Do not hammer the disk for no reason (admins should decide whether reclaiming space is desired)
  • Not always recommended for flash drives

For reference:

-K     Do not attempt to discard blocks at mkfs time.

Thoughts?

@leseb leseb changed the title To not send discard when running mkfs.xfs? Do not send discard when running mkfs.xfs? Nov 22, 2022
@leseb
Copy link
Contributor Author

leseb commented Nov 23, 2022

@mulkieran does this make sense as an issue or do you prefer a discussion? Thanks!

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