The patch titled

     device-mapper multipath: Flush workqueue when destroying

has been added to the -mm tree.  Its filename is

     device-mapper-multipath-flush-workqueue-when-destroying.patch

Patches currently in -mm which might be from [EMAIL PROTECTED] are

device-mapper-multipath-barriers-not-supported.patch
device-mapper-multipath-flush-workqueue-when-destroying.patch
device-mapper-multipath-avoid-possible-suspension-deadlock.patch
device-mapper-multipath-fix-pg-initialisation-races.patch
device-mapper-fix-dm_swap_table-error-cases.patch
device-mapper-snapshots-handle-origin-extension.patch



From: Alasdair G Kergon <[EMAIL PROTECTED]>

The multipath destructor must flush its workqueue.  Otherwise items that
reference the destroyed object could remain.

From: "goggin, edward" <[EMAIL PROTECTED]>
Signed-off-by: Lars Marowsky-Bree <[EMAIL PROTECTED]>
Signed-off-by: Alasdair G Kergon <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/md/dm-mpath.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN 
drivers/md/dm-mpath.c~device-mapper-multipath-flush-workqueue-when-destroying 
drivers/md/dm-mpath.c
--- 
25/drivers/md/dm-mpath.c~device-mapper-multipath-flush-workqueue-when-destroying
    Fri Jul  8 16:45:28 2005
+++ 25-akpm/drivers/md/dm-mpath.c       Fri Jul  8 16:45:28 2005
@@ -752,6 +752,8 @@ static int multipath_ctr(struct dm_targe
 static void multipath_dtr(struct dm_target *ti)
 {
        struct multipath *m = (struct multipath *) ti->private;
+
+       flush_workqueue(kmultipathd);
        free_multipath(m);
 }
 
_
-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to