Yes, jukebox is the error in nfs 3. The client should retry forever at
least with Linux NFS client. Try hard mount although it is not required.
What is your client is distro?
On May 11, 2017 8:20 PM, "Satish Chandra Kilaru" <iam.kil...@gmail.com>
wrote:
> Thank you. I tried this in NFSv3. I believe the error code was JUKEBOX.
> Linux client sends read request within a very short interval and second
> JUKEBOX error results in error being reported to application.
>
> I ended up just blocking the NFS RPC reply until file is restored. Only
> drawback is that worker thread is blocked until the file is restored.
>
> The following mechanism might be better in this case.
>
> 1. FSAL returns I/O pending if it has to restore the data.
> 2. Ganesha keeps the RPC context aside until the callback comes.
> 3. FSAL calls back when data is available.
> 4. Ganesha sends NFS response
>
> Do you see merit in this?
>
> On Thu, May 11, 2017 at 10:37 AM Malahal Naineni <s...@gmail.com> wrote:
>
>> NFS spec recommends the server send delay error and the client should
>> retry.
>>
>> Regards, Malahal.
>>
>> On May 11, 2017 7:58 PM, "Satish Chandra Kilaru" <iam.kil...@gmail.com>
>> wrote:
>>
>>> Suppose an FSAL archives old files. When there is read request for those
>>> files, it can take long time to restore those files. Instead of blocking
>>> the worker thread for that long, it is good to allow FSAL to callback when
>>> data is available.
>>>
>>> Any plans to support that?
>>> --
>>> Please Donate to www.wikipedia.org
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Nfs-ganesha-devel mailing list
>>> Nfs-ganesha-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
>>>
>>> --
> Please Donate to www.wikipedia.org
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel