> Config callbacks are called per-block, so if a block relevant to a FSAL changes > (an export with that FSAL, or that FSAL's FSAL block), the the callback for that > block will be called. There's no general notifications when config changes.
The FSAL block of the EXPORT doesn't actually get re-processed. We don't even verify the FSAL Name didn't get changed... The FSAL specific parameters in the FSAL block are evaluated by a config call from create_export. If we have a real need to update FSAL specific options, or have the FSAL otherwise do something on update export, we would need to add an update_export method to the FSAL API. Frank > On 12/13/2016 05:12 AM, Sandeep Joshi wrote: > > > > Does Ganesha call some method to notify an individual FSAL if the > > config file has changed ? I am referring to operations other than > > adding and deleting exports. > > > > What is the recommended way to achieve this function ? > > > > It seemed like fsal_ops.init_config() is called on fsal_commit() but > > not sure if this gets called on reread_log_config() in the signal > > manager thread. > > > > -Sandeep > > > > > > > > ---------------------------------------------------------------------- > > -------- 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 --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus ------------------------------------------------------------------------------ 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