Re: nfs regression 2.6.35+

From: Nick Bowler
Date: Mon Aug 16 2010 - 14:18:30 EST


On 2010-08-16 12:40 +0200, Takashi Iwai wrote:
> At Mon, 16 Aug 2010 12:09:12 +0200, Takashi Iwai wrote:
> > This hits me, too. Reverting it cures the problem.
> > (BTW, the correct commit id of the affecting patch is
> > af7fa16506bf9b6323e862a61e14c20555152bb3
> > "NFS: Fix up the fsync code")
> >
> > Reproduced on 2.6.36-rc1.
> >
> > So, fsync() returns 1 wrongly.

Apparently this breaks NFS file locks as well:

fetchmail: starting fetchmail 6.3.17 daemon
/home/nbowler/.fetchmail.pid: Bad file descriptor
fetchmail: lock creation failed.

> How about a band-aid fix below?
[...]
> Subject: [PATCH] NFS: fix fsync return code

and this fixes all the problems for me.

--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/