Closed ericcurtin closed 7 months ago
LGTM @giuseppe FYI
Yup I noticed this "volatile" was your kernel contribution @giuseppe .
We should probably have volatile on for other throwaway filesystems like:
rpm-ostree usroverlay
and
bootc usroverlay
also. There would be some performance savings there too (it should be added in a way that supports kernels without "volatile" support also I guess if it was to be added for usroverlay
). Even though usroverlay
typically isn't a performance critical use case, but who knows, for some people it might be?
Btw, I'm kind of assuming "volatile" made the RHEL 9 kernel in this PR @giuseppe @rhatdan ... Is that true? I tested this on Fedora.
@giuseppe @rhatdan any other recommendations/options/etc. that you are aware of that make IO faster feel free to suggest by the way...
volatile should be in RHEL 9.
Would it make sense to retry the mount command without volatile
if mount(2)
fails with EINVAL?
Added reattempt without "volatile" on EINVAL
LGTM
initoverlayfs is designed to be throwaway, the data need not be synced, the volatile keyword makes the boot faster, by not demanding sync. Tested on Raspberry Pi 4.