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
Eric advises... 1. Create a global list of zombie imports and exports and a cleanup thread that consumes them. 2. Change class_import_put() to add the import to the zombie import list on removing the last reference and run the rest of it from the cleanup thread. 3. Change __class_export_put() to add the export to the zombie export list on removing the last reference and tun the rest of it from the cleanup thread. 1 week to code and unit test? I wonder if there are existing fields in struct obd_export and struct obd_import that could be used for the queueing, but it's not a big deal. But someone with familiarity with this stuff should verify my suggestion. _______________________________________________ Lustre-devel mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-devel
