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

Remove autoclear option from squashfs mount #286

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

uvNikita
Copy link
Contributor

@uvNikita uvNikita commented Sep 9, 2020

Unless I'm missing something, it seems like it's not supported in the new kernels.

Without this patch I'm getting "Unknown parameter autoclear" in dmesg when attempting to mount squashfs image.
I think old kernels might have just ignored unsupported options.

Seems like it's not supported in the new kernels.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 78.399% when pulling cb7c321 on uvNikita:squashfs/autoclear into 771dcc4 on NERSC:master.

@scanon
Copy link
Member

scanon commented Sep 28, 2020

@dmjacobsen Can you look at this?

@scanon
Copy link
Member

scanon commented Jun 16, 2021

I've run into this as well. I'm still discussing with @dmjacobsen the ramifications of disabling it. But the newer kernels simply do not recognize this option.

@scanon
Copy link
Member

scanon commented Aug 29, 2021

We have confirmed that removing the autoclear is safe. @dmjacobsen was concerned about. We will work on a different fix that will somehow (TBD) determine if the flag should be used or not. Leaving off the autoclear on older kernels will result in orphaned loopback mounts.

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.

3 participants