Alasdair G Kergon 485ef69ede [PATCH] device-mapper: Fix queue_if_no_path initialisation
When creating a multipath device, if the queue_if_no_path parameter is
specified it gets ignored.

While the queue_if_no_path variable is correctly set to 1, the
saved_queue_if_no_path gets set to 0.  When the device is subsequently made
live (resumed), the saved value (0) always overwrites the live value (1) so
the option *always* gets turned off.

The fix adds a parameter to the queue_if_no_path() function to indicate
whether the previous value should be preserved or not - if not, as when the
device is being set up, the saved value is set to the new value (1).

Signed-Off-By: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-09-28 07:46:42 -07:00
..
2005-09-20 21:01:13 +01:00
2005-09-10 10:06:35 -07:00
2005-09-22 07:58:24 -07:00
2005-07-30 09:47:53 -05:00
2005-09-17 11:50:02 -07:00
2005-09-22 22:17:34 -07:00
2005-04-16 15:20:36 -07:00
2005-09-26 13:11:29 +02:00
2005-09-08 01:45:47 -04:00
2005-06-21 18:46:32 -07:00
2005-09-23 13:35:36 -07:00
2005-09-11 19:15:07 -07:00
2005-09-11 19:15:07 -07:00