diff options
author | Benjamin Marzinski <bmarzins@redhat.com> | 2009-04-04 00:09:55 +0200 |
---|---|---|
committer | Christophe Varoqui <christophe.varoqui@free.fr> | 2009-04-04 00:09:55 +0200 |
commit | 0b8689828a537b463592434e829833e508116eb3 (patch) | |
tree | 2baf2a713051c12e881fb4107d42c2630b904425 /libmultipath/propsel.h | |
parent | 058013c2527bed13f7b3dadc752260dbd9efc62f (diff) | |
download | multipath-tools-0b8689828a537b463592434e829833e508116eb3.tar.gz multipath-tools-0b8689828a537b463592434e829833e508116eb3.tar.bz2 multipath-tools-0b8689828a537b463592434e829833e508116eb3.zip |
[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.
Diffstat (limited to 'libmultipath/propsel.h')
-rw-r--r-- | libmultipath/propsel.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmultipath/propsel.h b/libmultipath/propsel.h index 62802f8..818060b 100644 --- a/libmultipath/propsel.h +++ b/libmultipath/propsel.h @@ -10,4 +10,5 @@ int select_getuid (struct path * pp); int select_prio (struct path * pp); int select_no_path_retry(struct multipath *mp); int select_pg_timeout(struct multipath *mp); +int select_flush_on_last_del(struct multipath *mp); int select_minio(struct multipath *mp); |