Hello, In graceful shutdown of ganesha (do_shutdown()), the way object handles are released is first by calling unexport() and then destroy_fsals(). One issue I'm seeing is unexport in MDCACHE will not release objects if refcnt is non-zero (which can happen if files are open). When it comes to destroy_fsals() -> shutdown_handles() -> mdcache_hdl_release() -> ...-> mdcache_lru_clean(), we don't have op_ctx. So it will crashes in mdcache_lru_clean().
A simple fix would be to create op_ctx if it is NULL in mdcache_hdl_release(). But I'm wondering if unexport is supposed to free all handles in MDCACHE? This is with 2.6-rc2 in case you want to look at code. 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