Re: [LSF/MM/BPF TOPIC] untorn buffered writes

From: Christoph Hellwig
Date: Tue May 28 2024 - 06:57:53 EST


On Tue, May 28, 2024 at 10:21:15AM +0100, John Garry wrote:
> If so, I am not sure if a mmap interface would work for DB usecase, like
> PostgreSQL. I can ask.

Databases really should be using direct I/O for various reasons. And if
Postgres still isn't doing that we shouldn't work around that in the
kernel.