lkml.org 
[lkml]   [2008]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: BUG: mmapfile/writev spurious zero bytes (x86_64/not i386, bisected, reproducable)
On Tue, Jun 17, 2008 at 10:08:24AM -0700, Linus Torvalds wrote:
> On Tue, 17 Jun 2008, Bron Gondwana wrote:
> >
> > And I appear to have sent the one without the usage comments at the top.
> > Here they are:
>
> Very interesting. There's certainly something there.
>
> That said, there's a distracting bug which is visible when doing an strace
>
> lseek(4, 140333890921392, SEEK_SET) = -1 EINVAL (Invalid argument)
> write(4, "\0\0\0\0", 4) = 4

Bah - crap. Sorry about that. I sent you the wrong version of the
code. That's what I get for not putting it in revision control.

That bug exists because I did an htonl on a value that I shouldn't
have.

Bron ( now to read the rest of the thread! )


\
 
 \ /
  Last update: 2008-06-18 04:39    [from the cache]
©2003-2011 Jasper Spaans