Posted May 1, 2012 15:08 UTC (Tue) by ewan (subscriber, #5533)
[Link]
I'm sure I'm being dense, but when the article says "Linus made an open with O_DIRECT turn on the packetized behavior" surely that rather implies that it's off unless you use O_DIRECT?
Fixing the unfixable autofs ABI
Posted May 1, 2012 15:38 UTC (Tue) by hamjudo (subscriber, #363)
[Link]
It is off unless, something turns on O_DIRECT. The kernel side of the autofs interface turns on O_DIRECT. As far as I know, it isn't turned on anywhere else in the kernel (yet).
Nothing, but common sense, prevents users from writing programs that use this feature.
Fixing the unfixable autofs ABI
Posted May 1, 2012 15:41 UTC (Tue) by juliank (subscriber, #45896)
[Link]
As far as I understand it, if you create such a a pipe yourself, then you use O_DIRECT; and for autofs, the kernel creates such a pipe itself and you thus automatically get that.