[Rpm-maint] [rpm-software-management/rpm] option to disable fsync (#1401)
Colin Walters
notifications at github.com
Wed Oct 14 22:45:50 UTC 2020
For rpm-ostree, we rely on ostree for transactionality - ostree does fsync (or not) per its configuration.
As best I can tell, rpm doesn't offer an API to disable its use of fsync (for the database or for writing files, though I only really care about the former). There are references to `nofsync` which I *think* is only parsed by the db3 backend?
I know about things like [libeatmydata](https://github.com/stewartsmith/libeatmydata) but the problem of course is that librpm is linked into the same process (rpm-ostree) as the code that is doing the ostree commit.
We already use FUSE for scripts, so I could probably intercept the writes with FUSE but I'd imagine adding an API for this would be fairly straighforward, right?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20201014/beb0a098/attachment.html>
More information about the Rpm-maint
mailing list