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)
That second link is wrong, should be: https://gitlab.com/nbdkit/nbdkit/-/commit/a956e2e75d6c88eeef...
https://lore.kernel.org/linux-mm/45odvhgymm7fxsgwpewoiiggaok...