[multipathd] Add options to multipathd to turn off queueing
authorBenjamin Marzinski <bmarzins@redhat.com>
Fri, 3 Apr 2009 22:09:55 +0000 (00:09 +0200)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Fri, 3 Apr 2009 22:09:55 +0000 (00:09 +0200)
commit0b8689828a537b463592434e829833e508116eb3
tree2baf2a713051c12e881fb4107d42c2630b904425
parent058013c2527bed13f7b3dadc752260dbd9efc62f
[multipathd] Add options to multipathd to turn off queueing

Even when the last path of a multipath device is deleted, it can't be
removed until all the queued IO is flushed. For devices that have
no_path_retry set to queue, this doesn't automatically happen.

This patch adds a "flush_on_last_del" config file option, that causes the
multipath device to automatically turn off queueing when the last path is
deleted.  It also adds the "disablequeueing" and "restorequeueing"
multipathd cli commands.
14 files changed:
libmultipath/config.c
libmultipath/config.h
libmultipath/dict.c
libmultipath/propsel.c
libmultipath/propsel.h
libmultipath/structs.h
libmultipath/structs_vec.c
multipath.conf.annotated
multipath.conf.synthetic
multipathd/cli.c
multipathd/cli.h
multipathd/cli_handlers.c
multipathd/cli_handlers.h
multipathd/main.c