We have been discussing the best method.


There is a patch: https://review.gerrithub.io/282540 that rescans on every 
create_export. I Think that would have an adverse impact on startup time (we 
have use cases with 1000 exports). My proposal is that we trigger the rescan on 
dBus add export command. That would assure it gets run when exports are 
dynamically added, which will be added one at a time, so slow anyway.



Frank



From: steve landiss [mailto:steve.land...@yahoo.com]
Sent: Wednesday, July 6, 2016 3:58 PM
To: nfs-ganesha-devel@lists.sourceforge.net; 
nfs-ganesha-supp...@lists.sourceforge.net
Subject: [Nfs-ganesha-devel] How do I trigger a filesystem scan from my FSAL?



In my FSAL module, I would like to have nfs-ganesha rescan the exports without 
having  to restart nfs-ganesha



The issue is, after I export say /mnt/ and then later on mount a drive into 
/mnt/foo, the contents of the drive are not seen by nfs-ganesha until I restart 
it.



I would like to dynamically call some f/n that will cause nfs-ganesha to rescan



Steve



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to