Re: [rfc patch 2/2] direct-io: remove address alignment check

From: Joel Becker
Date: Fri Jul 15 2005 - 11:55:13 EST


On Thu, Jul 14, 2005 at 10:18:28PM -0700, Badari Pulavarty wrote:
> I can imagine a reason for relaxing the alignment. I keep getting asked
> whether we can do "O_DIRECT mount option". Database folks wants to
> make sure all the access to files in a given filesystem are O_DIRECT

All currently existing "O_DIRECT mount option" implementations
that I know of do:

if (not-512-aligned)
bounce_buffer()

That is, no one attempts to support the wacky variations in DMA engines.

Joel

--

Brain: I shall pollute the water supply with this DNAdefibuliser,
turning everyone into mindless slaves.
Pinky: What about the people who drink bottled water?
Brain: Pinky, people who pay 5 dollars for a bottle of water are
already mindless slaves.

http://www.jlbec.org/
jlbec@xxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/