From 0b8689828a537b463592434e829833e508116eb3 Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Sat, 4 Apr 2009 00:09:55 +0200 Subject: [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. --- libmultipath/propsel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libmultipath/propsel.h') 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); -- cgit v1.2.3