> > *What* is, forever? Data integrity syncs should have pages operated on
LVM does (that is where the bug was discovered). Basically, it scans all
the block devices with direct IO and if someone else does buffered IO on
any device simultaneously, it locks up.
That fsync-vs-write livelock is quite improbably (why would some
application do it?) --- although it could be used as a DoS --- getting
unkillable process.
But there is another possible real-world problem --- sync-vs-write ---
i.e. admin plugs in two disks and copies data from one to the other.
Meanwhile, some unrelated server process executes sync(). The server goes
into coma until the copy finishes.
Mikulas
--