Hello,

It is possible to update export specific parameters added in the FSAL block
using SIGHUP only(instead of first doing RemoveExport and then doing
SIGHUP)? RemoveExport has the downside that it will blow away the cache and
fail inflight I/Os.

For example, FSAL VFS has parameter fsid_type. It doesn't seem to get
updated with just a SIGHUP after a change.

static struct config_item export_params[] = {
        CONF_ITEM_NOOP("name"),
        CONF_ITEM_TOKEN("fsid_type", FSID_NO_TYPE,
                        fsid_types,
                        vfs_fsal_export, fsid_type),
        CONFIG_EOL
};

static struct config_block export_param_block = {
        .dbus_interface_name = "org.ganesha.nfsd.config.fsal.vfs-export%d",
        .blk_desc.name = "FSAL",
        .blk_desc.type = CONFIG_BLOCK,
        .blk_desc.u.blk.init = noop_conf_init,
        .blk_desc.u.blk.params = export_params,
        .blk_desc.u.blk.commit = noop_conf_commit
};

struct config_block *vfs_sub_export_param = &export_param_block;
------------------------------------------------------------------------------
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