Re-apply the -S switch to disable soft-updates in memory disks (commit 8b1292ac5219). This might be beneficial when tmpfs(5) is not present in the kernel, as this can cause mdmfs(8)'s auto keyword to fallback to using md(4).
PR: 85558
Differential D43242
rc.initdiskless: Disable soft-updates in mdmfs (again) jlduran on Dec 30 2023, 8:14 AM. Authored by Tags None Referenced Files
Subscribers
Details Re-apply the -S switch to disable soft-updates in memory disks (commit 8b1292ac5219). This might be beneficial when tmpfs(5) is not present in the kernel, as this can cause mdmfs(8)'s auto keyword to fallback to using md(4). PR: 85558 Don't know who to ask for review, the change back to mdmfs was done in 50e3590c4486925a3694a113f59db7db69eb7679, and the original addition of the -S flag was done in 8b1292ac52192757bf4c5141340cdb8e2d78d821.
Diff Detail
Event TimelineComment Actions Sorry about that, the pull request is an "internal" pull request on my GitHub fork (it's just that you were accidentally at-mentioned there). Comment Actions tl;dr: ship it Softupdates are useless here: either we use the much better tmpfs (which ignores softupdates) or we're using swap backed md, which lives 100% in the buffer cache so softupdates don't save any I/O.
Comment Actions Also, dropping the -i 4096 also is likely not worth the bother. Nobody is really using the 'md' backing store anymore for this script. I kinda think that we should just document the tmpfs dependency and move away from 'auto' and just use tmpfs always. I'm finding it hard to understand when we might want to do md at all for this scenario. Comment Actions Seems like this should land? We're just missing a commit log message based on the commentary in this review. Comment Actions Let me know if a more verbose message, based upon Warner's comments, should be added. As it is often the case, very small changes require long explanations. |