On 2/2/24 10:25, Lennart Poettering wrote:
Another possible approach: run "sync -f" every 3 seconds.
While that should make sure the unwritten data hits the disk it doesn't
put the superblock in order to mark it as "this fs has been cleanly
unmounted". That's quite limiting.
Sure.
Sounds like a possible improvement at kernel level:
- half-unmount: sync the data, write a clean superblock, keep the memory
cache alive, when a new write happens make the superblock dirty again
Sort of "suspend/wakeup" for filesystems.
Should be a cousin of FIFREEZE / FITHAW ioctl for quiescing.
Regards.
--
Roberto Ragusa mail at robertoragusa.it
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue