Update export wouldn't help. So you do want to clean up state? Do you expect 
the clients to reclaim state on the new server node?

Sent from my iPhone

> On Oct 5, 2017, at 6:21 PM, Malahal Naineni <mala...@gmail.com> wrote:
> 
> Use update export available in 2.5.
> 
>> On Thu, Oct 5, 2017 at 10:05 PM Pradeep <pradeeptho...@gmail.com> wrote:
>> Hello,
>> 
>> If we were to refresh an existing NFS export (meaning cleanup all MDCACHE 
>> entries in that export and release all FSAL object handles), we could use 
>> the DBUS interface RemoveExport and AddExport. One problem with this 
>> approach is that right after RemoveExport, all in-flight requests will start 
>> receiving ESTALE error. Is there a way to pause all transports in TIRPC, so 
>> that we can block requests for this duration? The flow will be something 
>> like this:
>> 
>> - Pause all transports.
>> - Drain in-flight requests.
>> - RemoveExport
>> - AddExport
>> 
>> Alternative is to restart ganesha process which will block I/Os for the 
>> 'grace' period which is not ideal.
>> 
>> Thanks,
>> Pradeep
>> ------------------------------------------------------------------------------
>> 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
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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

Reply via email to