Re: READDIR bug in NFS server (wasl: mount.t oddity)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Niels de Vos <ndevos@xxxxxxxxxx> wrote:

> I've just checked xlators/nfs/server/src/nfs3.c a little, and it seems 
> that at least nfs3svc_readdir_fstat_cbk() tries to handle it:

cs->operrno is always 0 there. The value comes from nfs3svc_readdir_cbk where it
is 0 as well. The backtrace tells mewe go throigh:
nfs3svc_readdir_cbk 
io_stats_readdirp_cbk
dht_readdirp_cbk 
stripe_readdirp_cbk    <- errno == ENOENT is lost here
afr_readdir_cbk 
client3_3_readdirp_cbk 

In stripe_readdirp_cbk:
                STRIPE_STACK_UNWIND (readdir, frame, local->op_ret,
                                     local->op_errno, &local->entries, NULL);

Here local->op_errno = 0 and op_errno = 2 (ENOENT). I suspect op_ret is not set
correctly. I will explore further later.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@xxxxxxxxxx
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux