News for hackers. Stuff that matters.
Re:Disk write buffering and its interactions with write flushes by rwmj on Friday March 22, 2024 @04:34AM (#39788533)
Direct IO is very inflexible. A better way is this recommended by Linus in an old post:

https://lkml.iu.edu/hypermail/linux/kernel/1005.2/01845.html

I implemented something along the same lines but a bit less spicy here:

https://gitlab.com/nbdkit/nbdkit/-/commit/aa5a2183a6d16afd91...

Re:Disk write buffering and its interactions with write flushes by rwmj on Friday March 22, 2024 @08:25AM (#39789969)