Skip to contentSkip to conversation

2.6 I/O path totally messed up

Ocfs2-devel Christoph Hellwig 2 participants 2 messages Aug 30, 2004 OCFS2

lore
Share & tools
lore
#0 lore raw

The second argumentto generic_file_write_nolock is an iovec, not an actual userbuffer. The current code doesn't even have the slightest chance to work. Maybe it's time to decouple the 2.6 read/write code from the 2.4 code and implement proper vectored operations everywhere?

(and kill tge O_DIRECT vs O_APPEN hack, and the broken fallback code,
and..)

#1 lore raw
Quoted 3 lines · Christoph Hellwig

The second argumentto generic_file_write_nolock is an iovec, not an actual userbuffer. The current code doesn't even have the slightest chance to work.

Yeah, I'm embarrassed to say we missed that in the commit for that code. I'll be fixing it up asap.

Quoted 2 lines

Maybe it's time to decouple the 2.6 read/write code
from the 2.4 code and implement proper vectored operations everywhere?

Probably - we've got limited resources, so patches are welcome :)

Quoted 2 lines

(and kill tge O_DIRECT vs O_APPEN hack, and the broken fallback code,
and..)

No comment :)

	--Mark

--
Mark Fasheh
Software Developer, Oracle Corp
[email protected]