Hi Daniel,
Like you said, only if junction is a directory, callback getattrs is
called. Which means that file type is directory.
In mdcache_getattrs(), call to mdcache_refattrs() returns NO_FILE_TYPE.
To me it seems like in between call from nfs_export_get_root_entry() and
mdcache_refattrs(),
I don't think it's the check for type==DIRECTORY. If that fails, you'll
get the error message "Failed to get root for..." which is not in the
log snippet. The callback is only called if the getattrs() on the
junction obj succeeds, so maybe it's failing? A reproducer would help a
lot, if
Thanks for reply.
I investigated further and looking at log it seems that error occurs only at
Junction point somehow.
nfs4_readdir_callback :EXPORT :DEBUG :Need to cross junction to Export_Id 1
Path /
nfs4_readdir_callback :RW LOCK :F_DBG :Unlocked 0x1f8ec08
(>state_hdl->state_lock) at
That's much better. A few fixes have gone in since 2.4.1 relating to
readdir, mostly relating to large directories, or concurrent access from
multiple clients, or readdir in the presence of add/delete/rename that
turned up during stress testing for RHGS. It might be worth it to
attempt to
Okay, that's a very old tag, and lots of changes have gone in since. We
won't be able to easily nail down what changed, but -dev27 isn't
necessarily expected to work properly.
Daniel
On 02/28/2017 01:06 PM, Supriti Singh wrote:
> This package was created from the tag 2.4-dev-27.
>
>
>
>
This package was created from the tag 2.4-dev-27.
--
Supriti Singh��SUSE Linux GmbH, GF: Felix Imend��rffer, Jane Smithard, Graham
Norton,
HRB 21284 (AG N��rnberg)
>>> Daniel Gryniewicz 02/28/17 6:44 PM >>>
Which exact version of 2.4 are they using? If it's 2.4.0.3
Which exact version of 2.4 are they using? If it's 2.4.0.3 or earlier,
then attribute access was reworked in 2.4.0.4 to fix a lot of races.
Daniel
On 02/28/2017 12:18 PM, Supriti Singh wrote:
> Hello All,
>
> For one of our client, using nfs-ganesha v2.4 and ceph v10.2.4, readdir
> fails with
Hello All,
For one of our client, using nfs-ganesha v2.4 and ceph v10.2.4, readdir fails
with error:
On nfs-client: "Remote I/O error"
In nfs-ganesha server log (Removed some part of readability)
mdcache_readdir :NFS READDIR :F_DBG :About to readdir in mdcache_readdir:
directory=0x1f8dc10