public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* O_DIRECT read and holes in 2.5.26
@ 2002-07-18  8:43 Stephen Lord
  2002-07-22  2:26 ` Andrew Morton
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Lord @ 2002-07-18  8:43 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux Kernel Mailing List


Andrew, 

Did you realize that the new O_DIRECT code in 2.5 cannot read over holes
in a file. The old code filled the user buffer with zeros, the new code
returned EINVAL if the getblock function returns an unmapped buffer.
With this exception, XFS does work with the new code - with more cpu
overhead than before due to the once per page getblock calls.

Steve




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-26 20:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-18  8:43 O_DIRECT read and holes in 2.5.26 Stephen Lord
2002-07-22  2:26 ` Andrew Morton
2002-07-22  3:22   ` Anton Altaparmakov
2002-07-22  4:30     ` Andrew Morton
2002-07-26 20:22   ` Stephen Lord
2002-07-26 20:46     ` Andrew Morton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox