Skip to content

multipathd 'cookie' handling rework

Hannes Reinecke dm-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 4 repliesIn review
  2. v16 patches 10 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7devmapper: do not flush I/O for DM_DEVICE_CREATElibmultipath/devmapper.c+16 -90 replies
2/7devmapper: do not call dm_udev_complete if dm_task_set_cookie() failedlibmultipath/devmapper.c+4 -60 replies
3/7configure: Rename ACT_RENAME2 to ACT_FORCERENAMElibmultipath/configure.c libmultipath/configure.h+3 -30 replies
4/7devmapper: wait for udev in dm_simplecmd_noflush()libmultipath/configure.c+4 -21 reply
5/7multipathd: wait for udev in cli_resume()multipathd/cli_handlers.c+1 -11 reply
6/7devmapper: remove 'udev_sync' argument from dm_simplecmd_noflush()libmultipath/configure.c libmultipath/devmapper.c libmultipath/devmapper.h +1 more+10 -90 replies
7/7libmultipath: Fixup 'DM_DEVICE_RELOAD' handlinglibmultipath/configure.c libmultipath/devmapper.c libmultipath/devmapper.h+29 -220 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 0/7] multipathd 'cookie' handling rework

Hi all,

here's now the second attempt to fixup the 'cookie' handling in multipath-tools.
I've removed the patch to pass in a cookie as an argument for dm_addmap_reload() and dm_simplecmd().
And I've removed all instances where we had been calling dm_udev_complete() after failing to set the cookie to a task.

As usual, reviews and comments are welcome.

Hannes Reinecke (7):
devmapper: do not flush I/O for DM_DEVICE_CREATE
devmapper: do not call dm_udev_complete if dm_task_set_cookie() failed
configure: Rename ACT_RENAME2 to ACT_FORCERENAME
devmapper: wait for udev in dm_simplecmd_noflush()
multipathd: wait for udev in cli_resume()
devmapper: remove 'udev_sync' argument from dm_simplecmd_noflush()
libmultipath: Fixup 'DM_DEVICE_RELOAD' handling

 libmultipath/configure.c  | 20 ++++---------
 libmultipath/configure.h  |  2 +-
 libmultipath/devmapper.c  | 75 +++++++++++++++++++++++++++++++----------------
 libmultipath/devmapper.h  |  4 +--
 multipathd/cli_handlers.c |  4 +--
 5 files changed, 60 insertions(+), 45 deletions(-)
Signature · 1 line
2.6.6