[Rpm-maint] [rpm-software-management/rpm] Add macro to force fsync() on close() (#187)

Jeff Johnson notifications at github.com
Wed Apr 5 01:15:56 UTC 2017


Good if doing in fsm.h ( I haven't looked).

Meanwhile a 50x slower installation is intolerable for a package manager even if opt-in.

Nor can an application like RPM be expected to detect whether the underlying filesystem is on SSD or USB or rotational disk and adapt accordingly: there simply aren't the necessary API/s.

I believe that your databases are stalling, package management is a huge I/O load, unlike any other typical application.

Meanwhile -- depending on what statistics you report (if any) -- the issue of 1) "hardening" install's in spite of exceptional outages 2) preventing "write starvation" of other running applications by introducing a resource cap on RPM I/O, will be clear.

What measurements are you using to justify your fsync patch? That is not yet clear ...

-- 
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/pull/187#issuecomment-291698648
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20170404/ce1f6614/attachment-0001.html>


More information about the Rpm-maint mailing list