AerynOS: Musings on Inode Watchers and Atomic Live Upgrades #103
Replies: 4 comments 32 replies
|
FWIW, I do not consider it to be overly bothersome to reboot after an update. I guess the question I have is, why is it so important to not have to? |
|
Obviously patching GNOME can be a solution, later they will develop an API for this |
|
There seem to be a few possible approaches here:
Ideally, what I think you want is option 3 or 5? Edit:
Update: I don't think that Btrfs snapshots will work. I've tested, and Looking at the ZFS docs, I don't think that ZFS snapshots and clones would work either. On reflection, I feel that this would be best solved at the filesystem level, with a filesystem that supports multi-file transaction semantics. Then the filesystem would be responsible for triggering the inotify updates once the transaction is committed. I found one filesystem which supports multi-file transactions, but so far as I can tell it hasn't progressed beyond the research phase: exF2FS (PDF) (The commit messages in the git repository do not inspire confidence.) And I have no idea if it batches the inotify updates until after the transaction is committed (if at all). |
|
This is all super frustrating as the kernel isn't doing anything wrong per-se. It's just that various projects have started to use inode watchers as a performance hack to avoid expensive stat calls to do path based monitoring. This was traditionally not an issue as traditional package managers extracted and removed files directly to the path. However, as we're doing something novel, we are getting bitten in the arse by this assumption. |
Uh oh!
There was an error while loading. Please reload this page.
Tooling and Packaging Team member Joey Riches has written up a blog post covering some of his recent development work. This is Joey's first blog post for AerynOS and we are excited to share what he has been working on! Please go check it out and comment below if you have any questions!
https://aerynos.com/blog/2025/11/04/musings-on-inode-watchers-and-atomic-live-upgrades/
Thank you again to everyone who has sponsored the project, your on-going support helps us to keep innovating in the Linux Distribution space. For anyone who hasn't already, please do consider donating to us to allow us to continue these development paths.
All reactions