FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 03-08-2011, 12:30 PM
Bernd Zeimetz
 
Default Bug#617364: linux-2.6: lseek() over NFS is returning an incorrect file length under some, circumstances

Package: linux-2.6
Severity: important
Tags: patch

Due to a NFS attribute revalidation problem it might happen that
lseek(fd, 0, SEEK_END) returns a stale file size.

Please see https://bugzilla.redhat.com/show_bug.cgi?id=672981 and
http://archives.postgresql.org/pgsql-hackers/2011-01/msg02611.php for
details. It would be appreciated if the bug could be fixed in the next
point-releases for Lenny and Squeeze.

Thanks and cheers,

Bernd

--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprints: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4D762F78.4070207@bzed.de">http://lists.debian.org/4D762F78.4070207@bzed.de
 
Old 04-01-2011, 07:54 PM
Moritz Mühlenhoff
 
Default Bug#617364: linux-2.6: lseek() over NFS is returning an incorrect file length under some, circumstances

On Tue, Mar 08, 2011 at 02:30:32PM +0100, Bernd Zeimetz wrote:
> Package: linux-2.6
> Severity: important
> Tags: patch
>
> Due to a NFS attribute revalidation problem it might happen that
> lseek(fd, 0, SEEK_END) returns a stale file size.
>
> Please see https://bugzilla.redhat.com/show_bug.cgi?id=672981 and
> http://archives.postgresql.org/pgsql-hackers/2011-01/msg02611.php for
> details. It would be appreciated if the bug could be fixed in the next
> point-releases for Lenny and Squeeze.
>
> Thanks and cheers,

The ideal way to get this fixed in Squeeze is to get the patches
merged into the 2.6.32 long term kernel, on which Squeeze is based.

Could you check back with Joe Conway and ask for commits IDs of the
upstream fixes?

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110401195427.GA13123@pisco.westfalen.local">http ://lists.debian.org/20110401195427.GA13123@pisco.westfalen.local
 
Old 04-18-2011, 10:19 AM
Bernd Zeimetz
 
Default Bug#617364: linux-2.6: lseek() over NFS is returning an incorrect file length under some, circumstances

Hi,

> Could you check back with Joe Conway and ask for commits IDs of the
> upstream fixes?

I've got the following info from Trond Myklebust:

The upstream fix is commit 27dc1cd3ad9300f81e1219e5fc305d91d85353f8
(NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount).

Cheers,

Bernd


--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprints: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DAC102F.6050001@bzed.de">http://lists.debian.org/4DAC102F.6050001@bzed.de
 
Old 04-22-2011, 08:28 PM
Moritz Muehlenhoff
 
Default Bug#617364: linux-2.6: lseek() over NFS is returning an incorrect file length under some, circumstances

>> Could you check back with Joe Conway and ask for commits IDs of the
>> upstream fixes?
>
> I've got the following info from Trond Myklebust:
>
> The upstream fix is commit 27dc1cd3ad9300f81e1219e5fc305d91d85353f8
> (NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount).

Greg,
please merge 27dc1cd3ad9300f81e1219e5fc305d91d85353f8 into 2.6.32.x
(and other supported longterm kernels)

It fixes the bug described in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617364

Cheers,
Moritz



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110422202822.GA5376@pisco.westfalen.local">http://lists.debian.org/20110422202822.GA5376@pisco.westfalen.local
 
Old 04-30-2011, 06:23 AM
Jonathan Nieder
 
Default Bug#617364: linux-2.6: lseek() over NFS is returning an incorrect file length under some, circumstances

tags 617364 + upstream fixed-upstream
fixed 617364 linux-2.6/2.6.38~rc6-1~experimental.1
quit

Bernd Zeimetz wrote:

> The upstream fix is commit 27dc1cd3ad9300f81e1219e5fc305d91d85353f8
> (NFS: nfs_wcc_update_inode() should set nfsi->attr_gencount).

Quick update: it's part of 2.6.35.13 now and there's a backport to
2.6.32.x in the longterm queue[1] under the name[2]
queue-2.6.32/nfs-nfs_wcc_update_inode-should-set-nfsi-attr_gencount.patch

[1] git://git.kernel.org/pub/scm/linux/kernel/git/longterm/longterm-queue-2.6.32.git
[2] http://git.kernel.org/?p=linux/kernel/git/longterm/longterm-queue-2.6.32.git;a=blob;f=queue-2.6.32/nfs-nfs_wcc_update_inode-should-set-nfsi-attr_gencount.patch;hb=HEAD



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110430062327.GA8748@elie">http://lists.debian.org/20110430062327.GA8748@elie
 

Thread Tools




All times are GMT. The time now is 12:45 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org