[android-kernel] Re: Write problems using O_DIRECT

2009-08-22 Thread San Mehat
On Tue, Aug 18, 2009 at 11:41 AM, Seth Forshee wrote: > > On Thu, Aug 13, 2009 at 04:44:18PM -0500, Seth Forshee wrote: > > On Thu, Aug 13, 2009 at 01:50:47PM -0700, Travis Geiselbrecht wrote: > > > > > I've seen something like this with the block bounce enabled on another > > > processor on 2.6.2

[android-kernel] Re: Write problems using O_DIRECT

2009-08-18 Thread Seth Forshee
On Thu, Aug 13, 2009 at 04:44:18PM -0500, Seth Forshee wrote: > On Thu, Aug 13, 2009 at 01:50:47PM -0700, Travis Geiselbrecht wrote: > > > I've seen something like this with the block bounce enabled on another > > processor on 2.6.29. Problem is it doesn't flush when copying to/from > > the bounc

[android-kernel] Re: Write problems using O_DIRECT

2009-08-13 Thread Seth Forshee
On Thu, Aug 13, 2009 at 01:50:47PM -0700, Travis Geiselbrecht wrote: > I've seen something like this with the block bounce enabled on another > processor on 2.6.29. Problem is it doesn't flush when copying to/from > the bounce buffer. > > This patch from 2.6.31 seems to fix it, might be worth a

[android-kernel] Re: Write problems using O_DIRECT

2009-08-13 Thread Travis Geiselbrecht
On Thu, Aug 13, 2009 at 11:18 AM, San Mehat wrote: > On Thu, Aug 13, 2009 at 10:16 AM, Seth Forshee > wrote: >> >> On Wed, Aug 12, 2009 at 09:14:36AM -0700, San Mehat wrote: >> > On Tue, Jul 28, 2009 at 7:59 AM, Seth Forshee >> > wrote: >> > >> > > >> > > On Tue, Jul 28, 2009 at 07:34:14AM -0700,

[android-kernel] Re: Write problems using O_DIRECT

2009-08-13 Thread San Mehat
On Thu, Aug 13, 2009 at 10:16 AM, Seth Forshee wrote: > > On Wed, Aug 12, 2009 at 09:14:36AM -0700, San Mehat wrote: > > On Tue, Jul 28, 2009 at 7:59 AM, Seth Forshee >wrote: > > > > > > > > On Tue, Jul 28, 2009 at 07:34:14AM -0700, San Mehat wrote: > > > > I'll try your test code when I have a c

[android-kernel] Re: Write problems using O_DIRECT

2009-08-13 Thread Seth Forshee
On Wed, Aug 12, 2009 at 09:14:36AM -0700, San Mehat wrote: > On Tue, Jul 28, 2009 at 7:59 AM, Seth Forshee wrote: > > > > > On Tue, Jul 28, 2009 at 07:34:14AM -0700, San Mehat wrote: > > > I'll try your test code when I have a chance. > > > > Thanks. > > > > > > I'm in a difficult debugging sitat

[android-kernel] Re: Write problems using O_DIRECT

2009-08-12 Thread San Mehat
On Tue, Jul 28, 2009 at 7:59 AM, Seth Forshee wrote: > > On Tue, Jul 28, 2009 at 07:34:14AM -0700, San Mehat wrote: > > I'll try your test code when I have a chance. > > Thanks. > > > > I'm in a difficult debugging sitation for this issue. I can't build > the > > > kernel for the device (I'm work

[android-kernel] Re: Write problems using O_DIRECT

2009-07-28 Thread Seth Forshee
On Tue, Jul 28, 2009 at 07:34:14AM -0700, San Mehat wrote: > I'll try your test code when I have a chance. Thanks. > > I'm in a difficult debugging sitation for this issue. I can't build the > > kernel for the device (I'm working on getting the source to allow me to > > do this), and I don't ha

[android-kernel] Re: Write problems using O_DIRECT

2009-07-28 Thread San Mehat
On Mon, Jul 27, 2009 at 2:32 PM, Seth Forshee wrote: > I'm opening an MMC block device node with O_DIRECT on an MSM7k series > processor with Android (sort of a stress test, and I want to be sure > reads and writes go to the device and not just to the block cache). I'm > seeing that the data read