[PATCH] xfs: don't zero partial page cache pages during O_DIRECT

Eric Sandeen sandeen at redhat.com
Fri Aug 8 22:19:10 CDT 2014


On 8/8/14, 9:32 PM, Chris Mason wrote:

>> Go on, call me a deranged monkey on some serious mind-controlling
>> substances. I don't care. :)

Insider / obscure quote achievement unlocked!
 
> The deranged part is invalidating pos -> -1 on a huge file because of a
> single 512b direct read.  But, if you mix O_DIRECT and buffered you get
> what the monkeys give you and like it.

Agreed, I really scratch my head at that one...

-Eric



More information about the xfs mailing list