Re: 2.6.11-rc5-mm1

From: Andrew Morton
Date: Wed Mar 02 2005 - 03:55:38 EST


Aurélien Francillon <aurel@xxxxxxxxxx> wrote:
>
> Andrew Morton wrote:
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc5/2.6.11-rc5-mm1/
> >
> >
> > - Lots of tuning/balancing changes in the CPU scheduler. Mainly targetted
> > at larger SMT/SMP/NUMA machines. It's going to be hard to work out whether
> > these are a net benefit.
> >
> > - A pcmcia update which obsoletes cardmgr (although cardmgr still works) and
> > makes pcmcia work more like regular hotpluggable devices. See the
> > changelong in pcmcia-dont-send-eject-request-events-to-userspace.patch for
> > details.
> >
> > - A new reiser4 code drop.
> >
> > - A new rev of the NFS ACL code.
>
> hi,
> I have a strange bug with nfs,
> this happens on the 2.6.11-rc5-mm1 and i have no problems with 2.6.11-rc5.
>
> i have a cvsroot exported over nfs on a server running a fedora core
> kernel (kernel-2.6.5-1.358) and i use it from a notebook. With linus
> kernel no problem, but with mm i have the following error :
>
> cvs diff Makefile
> cvs diff: cannot create read lock in repository
> `/mnt/iseran/roca/cvsroot/ldpc': No such file or directory
> cvs [diff aborted]: read lock failed - giving up
>
> but the file is created and i can "cat " it without problem ...
>
> strace gives me :
>
> with 2.6.11-rc5-mm1:
> open("/mnt/iseran/roca/cvsroot/ldpc/#cvs.rfl.vanua.6860",O_RDWR|O_CREAT|O_TRUNC,
> 0666) = -1 ENOENT (No such file or directory)
>
> with 2.6.11-rc5 kernel:
> open("/mnt/iseran/roca/cvsroot/ldpc/#cvs.rfl.vanua.14403",
> O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
> close(3)
>
>
> nfs is configured without acl in the .config
> and AFAK the server neither uses them
>

Nice report, thanks.

I can reproduce the problem here. Simple testcase:

main()
{
int fd;

fd = open("a", O_RDWR|O_CREAT|O_TRUNC, 0666);
if (fd < 0)
perror("open");
exit(0);
}

The same happens with CONFIG_NFS_ACL=y.

Binary searching shwos that the bug was introduced by
nfsacl-acl-umask-handling-workaround-in-nfs-client.patch

-
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/