Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the following link: https://bugzilla.lustre.org/show_bug.cgi?id=10734
Created an attachment (id=9372) Please don't reply to lustre-devel. Instead, comment in Bugzilla by using the following link: --> (https://bugzilla.lustre.org/attachment.cgi?id=9372&action=view) patch against b1_5 This patch changes put_{im,ex}port to schedule the {im,ex}port for destruction by the ptlrpc daemon. It's more of a DLD than an actual solution and the following points must be considered. 1. It uses the ptlrpc daemon to do the actual {im,ex}port destruction. I used it for convenience and the extra cleanup work is negligible and wont affect performance. But this means the ptlrpc daemon must be run everywhere, not just clients (and the MDS?) as it has been up till now. 2. This introduces an extra level of asynchronousness into shutting down. Please note that shutdown has never actually been synchronous even though it may appear to be so and lconf actually assumes so - it's always been the case that network callbacks have to complete before everything can clean up but normally this is quite fast. More work to make shutdown/unload scripts block properly may be required. 3. I've not actually tested this code on b1_5 _______________________________________________ Lustre-devel mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-devel
