[APPENDIX PATCH 5/5] blk_end_request: userspace multipath-tools for request-based dm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch changes multipath-tools to use request-based dm-multipath.
This patch should be applied on top of 8/28/2007 git multipath-tools.

Request-based dm itself is still under development and not ready
for inclusion.

Signed-off-by: Kiyoshi Ueda <k-ueda@xxxxxxxxxxxxx>
Signed-off-by: Jun'ichi Nomura <j-nomura@xxxxxxxxxxxxx>
---
 devmapper.c |    2 ++
 1 files changed, 2 insertions(+)

diff -rupN git-multipath-tools-20070828/libmultipath/devmapper.c rqdm-multipath-tools/libmultipath/devmapper.c
--- git-multipath-tools-20070828/libmultipath/devmapper.c	2007-08-28 17:05:25.000000000 -0400
+++ rqdm-multipath-tools/libmultipath/devmapper.c	2007-08-28 17:50:47.000000000 -0400
@@ -174,6 +174,7 @@ dm_simplecmd (int task, const char *name
 #ifdef LIBDM_API_FLUSH
 	dm_task_no_flush(dmt);          /* for DM_DEVICE_SUSPEND/RESUME */
 #endif
+	dm_task_request_base(dmt);
 
 	r = dm_task_run (dmt);
 
@@ -211,6 +212,7 @@ dm_addmap (int task, const char *name, c
 	}
 
 	dm_task_no_open_count(dmt);
+	dm_task_request_base(dmt);
 
 	r = dm_task_run (dmt);
 
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux