This is a set of unrelated patches, based on top of my previous "add library to check if device is a valid path" patchset. The first two patches add a new config option, eh_deadline, that sets the scsi sysfs value of the same name for scsi path devices. This has been requested by multiple customers. Patch 0004 is a change to detecting rdac support requested by Netapp. Patch 0005 fixes a rare segfault during shutdown, that happens when the tur DSO is unloaded while the tur thread is still running. The issue is that unless we make the tur_checker thread joinable, there is no way to be sure that it isn't still running when the DSO is unloaded. I tried to fix this in a way that allowed the DSO to get cleaned up. But without redoing the tur_thread, that was impossible. Even if the cleanup happened when the tur_thread was running a cleanup handler function from libmultipath (not the DSO), while in pthread_exit(), which doesn't return back to the calling fuction, it would segfault. I realize that there has just been a lot of work done to make sure that multipathd is cleaning up before exitting that this code is going against that, but I'm not sure that the cost of redoing the tur_thread is worth the benefit of being able to unload the DSO. If people feel strongly that we should always unload the DSO, I can redo this and make the tur_thread joinable with pthread_tryjoin_np(), and add code to the checkerloop or uxlsnrloop to join with orphaned tur_threads. That should work. Benjamin Marzinski (5): libmultipath: move fast_io_fail defines to structs.h libmultipath: add eh_deadline multipath.conf parameter multipathd: remove redundant vector_free() int configure libmultipath: only read 0xc9 vpd page for devices with rdac checker libmultipath: don't dlclose tur checker DSO libmultipath/checkers.c | 10 +++++- libmultipath/checkers.h | 1 + libmultipath/checkers/tur.c | 1 + libmultipath/config.c | 2 ++ libmultipath/config.h | 10 ++---- libmultipath/configure.c | 1 + libmultipath/dict.c | 40 +++++++++++++-------- libmultipath/dict.h | 2 +- libmultipath/discovery.c | 70 +++++++++++++++++++++++++++++-------- libmultipath/propsel.c | 21 +++++++++-- libmultipath/propsel.h | 1 + libmultipath/structs.h | 24 +++++++++++++ multipath/multipath.conf.5 | 16 +++++++++ multipathd/main.c | 8 ++--- 14 files changed, 159 insertions(+), 48 deletions(-) -- 2.17.2 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel