All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 00/19] Misc Multipath patches
@ 2018-10-09 23:02 Benjamin Marzinski
  2018-10-09 23:02 ` [PATCH v4 01/19] libmultipath: fix tur checker timeout Benjamin Marzinski
                   ` (19 more replies)
  0 siblings, 20 replies; 25+ messages in thread
From: Benjamin Marzinski @ 2018-10-09 23:02 UTC (permalink / raw)
  To: device-mapper development; +Cc: Martin Wilck

This batch is a resend of v4, rebased on the latest upstream code with
changes base on Martin's review

Changes in v4
	0001-libmultipath-fix-tur-checker-timeout.patch now fails back
	to synchronous mode if the thread was cancelled but continues to
	run.  Since this is an unlikely event, I decided that it made
	more sense to not complicate the existing thread synchronization
	code to allow multiple threads. However, if someone else want's
	to make those changes, I'm open to the idea.

	0002-libmultipath-fix-tur-checker-double-locking.patch now saves
	dev_t instead of a string in the checker context, as suggested
	by Martin

	The only differences in patches 0003-0005 are that they are
	rebased on top of the new patches 0001-0002, but I took off
	Martin's Reviewed-by (just it case I messed something up when
	rebasing them).

Changes in v3
        added patches 0018-0019

Changes in v2
        0002-libmultipath-fix-tur-checker-double-locking.patch now sets
        ct->devt when initially creating the tur_checker_context, while
        that structure is still only referenced by a local variable.
        After that, ct->devt is only ever read. This should remove any
        issues with it needing locking.

Benjamin Marzinski (19):
  libmultipath: fix tur checker timeout
  libmultipath: fix tur checker double locking
  libmultipath: fix tur memory misuse
  libmultipath: cleanup tur locking
  libmultipath: fix tur checker timeout issue
  libmultipath: fix set_int error path
  libmultipath: fix length issues in get_vpd_sgio
  libmultipath: _install_keyword cleanup
  libmultipath: remove unused code
  libmultipath: fix memory issue in path_latency prio
  libmultipath: fix null dereference int alloc_path_group
  libmutipath: don't use malformed uevents
  multipath: fix max array size in print_cmd_valid
  multipathd: function return value tweaks
  multipathd: minor fixes
  multipathd: remove useless check and fix format
  multipathd: fix memory leak on error in configure
  libmultipath: Don't blank intialized paths
  libmultipath: Fixup updating paths

 libmultipath/checkers/tur.c              | 168 +++++++++++--------------------
 libmultipath/dict.c                      |   5 +-
 libmultipath/discovery.c                 |  18 ++--
 libmultipath/parser.c                    |  12 ++-
 libmultipath/print.c                     |   8 --
 libmultipath/prioritizers/path_latency.c |   3 +-
 libmultipath/structs.c                   |   2 +-
 libmultipath/uevent.c                    |   6 ++
 multipath/main.c                         |   2 +-
 multipathd/cli_handlers.c                |  11 +-
 multipathd/main.c                        |  50 +++++----
 11 files changed, 130 insertions(+), 155 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2018-10-10  7:25 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-09 23:02 [PATCH v4 00/19] Misc Multipath patches Benjamin Marzinski
2018-10-09 23:02 ` [PATCH v4 01/19] libmultipath: fix tur checker timeout Benjamin Marzinski
2018-10-10  7:05   ` Martin Wilck
2018-10-09 23:02 ` [PATCH v4 02/19] libmultipath: fix tur checker double locking Benjamin Marzinski
2018-10-10  7:08   ` Martin Wilck
2018-10-09 23:03 ` [PATCH v4 03/19] libmultipath: fix tur memory misuse Benjamin Marzinski
2018-10-10  7:14   ` Martin Wilck
2018-10-09 23:03 ` [PATCH v4 04/19] libmultipath: cleanup tur locking Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 05/19] libmultipath: fix tur checker timeout issue Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 06/19] libmultipath: fix set_int error path Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 07/19] libmultipath: fix length issues in get_vpd_sgio Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 08/19] libmultipath: _install_keyword cleanup Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 09/19] libmultipath: remove unused code Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 10/19] libmultipath: fix memory issue in path_latency prio Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 11/19] libmultipath: fix null dereference int alloc_path_group Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 12/19] libmutipath: don't use malformed uevents Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 13/19] multipath: fix max array size in print_cmd_valid Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 14/19] multipathd: function return value tweaks Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 15/19] multipathd: minor fixes Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 16/19] multipathd: remove useless check and fix format Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 17/19] multipathd: fix memory leak on error in configure Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 18/19] libmultipath: Don't blank intialized paths Benjamin Marzinski
2018-10-09 23:03 ` [PATCH v4 19/19] libmultipath: Fixup updating paths Benjamin Marzinski
2018-10-10  7:19 ` [PATCH v4 00/19] Misc Multipath patches Martin Wilck
2018-10-10  7:25   ` Martin Wilck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.