Re: pread() over NFS (again) [1.5.5.4]

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shawn O. Pearce
Date: Thursday, June 26, 2008 - 2:05 pm

Junio C Hamano <gitster@pobox.com> wrote:
...

Indeed, it is defined to be EOF, but EOF here makes no sense.

We have a file position we saw once before as the start of a delta.
We wrote it down to disk.  We want to go back and open it up, as
we have the base decompressed and in memory and need to compute
the SHA-1 of the object that resides at this offset.

And *wham* we get an EOF.  Where there should be data.  Where we
know there is data.

I'm open to the idea that index-pack has a bug, but I doubt it.
We shovel hundreds of megabytes through that on a daily basis
across all of the git users, and nobody ever sees it crash out
with an EOF in the middle of an object it knows to be present.
Except poor Christian on NFS.

Actually, I think the last time someone reported something like this
in Git it turned out to be an NFS kernel bug.  I didn't quote it
in my reply to him, but I think he did say this was a linux client,
linux server.

-- 
Shawn.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
pread() over NFS (again) [1.5.5.4], Christian Holtje, (Thu Jun 26, 9:40 am)
Re: pread() over NFS (again) [1.5.5.4], Shawn O. Pearce, (Thu Jun 26, 1:46 pm)
Re: pread() over NFS (again) [1.5.5.4], Junio C Hamano, (Thu Jun 26, 1:56 pm)
Re: pread() over NFS (again) [1.5.5.4], Shawn O. Pearce, (Thu Jun 26, 2:05 pm)
Re: pread() over NFS (again) [1.5.5.4], Christian Holtje, (Thu Jun 26, 2:36 pm)
Re: pread() over NFS (again) [1.5.5.4], Junio C Hamano, (Thu Jun 26, 3:04 pm)
Re: pread() over NFS (again) [1.5.5.4], Shawn O. Pearce, (Thu Jun 26, 3:07 pm)
Re: pread() over NFS (again) [1.5.5.4], logank, (Thu Jun 26, 4:36 pm)
Re: pread() over NFS (again) [1.5.5.4], Junio C Hamano, (Thu Jun 26, 4:38 pm)
Re: pread() over NFS (again) [1.5.5.4], J. Bruce Fields, (Thu Jun 26, 7:54 pm)
Re: pread() over NFS (again) [1.5.5.4], J. Bruce Fields, (Thu Jun 26, 7:57 pm)
Re: pread() over NFS (again) [1.5.5.4], Christian Holtje, (Fri Jun 27, 6:44 am)
Re: pread() over NFS (again) [1.5.5.4], Christian Holtje, (Fri Jun 27, 6:54 am)
Re: pread() over NFS (again) [1.5.5.4], Trond Myklebust, (Fri Jun 27, 7:50 am)
Re: pread() over NFS (again) [1.5.5.4], Shawn O. Pearce, (Sun Jun 29, 5:32 pm)
Re: pread() over NFS (again) [1.5.5.4], Nicolas Pitre, (Mon Jun 30, 12:09 pm)