[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: O_DIRECT & rpm (for xfs)



On Fri, Aug 29, 2003 at 07:29:28PM +0300, Axel Thimm wrote:
> O_DIRECT -- as instantiated in linux -- is goofy and under development. 
> The behavior before was
> just to ignore O_DIRECT, it did not matter whether it was used or not. 
> Life was good.

Umm, that's wrong.  O_DIRECT went into Linux 2.4.10 (and was in the
XFS patches earlier) and never was ignored.  Someone during the last
year Red Hat decided to just clear the O_DIRECT flag in their kernels
instead of returning an error.  That's where this crap comes from.
It's a genuine Red Hat bug.

The alignment was blocksize previously and got down to sector size
these days - but that's lessing the requirement, nothing that can
harm an application.