Re: [RFC 1/7] iomap: Don't fall back to buffered write if the write is atomic
From: John Garry
Date: Mon Dec 04 2023 - 13:42:28 EST
On 04/12/2023 18:17, Darrick J. Wong wrote:
If we could just run statx on a file descriptor here then that would be
simpler...
statx(fd, "", AT_EMPTY_PATH, ...); ?
I really meant that if we could only run statx on a fd then we could
know if we want DIO or buffered IO (as that is how it was opened).
Thanks,
John