LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [RFC PATCH 12/13] dm-mpath: add hw-handler interface
@ 2008-03-19 23:11 Kiyoshi Ueda
  0 siblings, 0 replies; only message in thread
From: Kiyoshi Ueda @ 2008-03-19 23:11 UTC (permalink / raw)
  To: jens.axboe, michaelc, hare, agk, linux-kernel
  Cc: linux-scsi, dm-devel, j-nomura, k-ueda

This patch adds a hw-handler interface for request-based dm-multipath.

Signed-off-by: Kiyoshi Ueda <k-ueda@ct.jp.nec.com>
Signed-off-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
---
 drivers/md/dm-hw-handler.h |    1 +
 1 files changed, 1 insertion(+)

Index: 2.6.25-rc5/drivers/md/dm-hw-handler.h
===================================================================
--- 2.6.25-rc5.orig/drivers/md/dm-hw-handler.h
+++ 2.6.25-rc5/drivers/md/dm-hw-handler.h
@@ -35,6 +35,7 @@ struct hw_handler_type {
 	void (*pg_init) (struct hw_handler *hwh, unsigned bypassed,
 			 struct dm_path *path);
 	unsigned (*error) (struct hw_handler *hwh, struct bio *bio);
+	unsigned (*error_rq) (struct hw_handler *hwh, struct request *rq);
 	int (*status) (struct hw_handler *hwh, status_type_t type,
 		       char *result, unsigned int maxlen);
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-19 23:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-19 23:11 [RFC PATCH 12/13] dm-mpath: add hw-handler interface Kiyoshi Ueda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).