Re: [PATCH] device-mapper: multipath hardware handler for EMC

2005-02-12 Thread Mike Christie
Christoph Hellwig wrote: +/* Code borrowed from dm-lsi-rdac by Mike Christie */ Any reason that module isn't submitted? I do not have access to their HW specs, and have been busy with some iscsi things so I did not have time to finish things up. I was also hoping LSI would soon figure out that the

Re: [PATCH] device-mapper: multipath hardware handler for EMC

2005-02-11 Thread Lars Marowsky-Bree
On 2005-02-11T19:58:41, Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > +/* Code borrowed from dm-lsi-rdac by Mike Christie */ > > Any reason that module isn't submitted? No idea why. > > + bio->bi_bdev = path->dev->bdev; > > + bio->bi_sector = 0; > > + bio->bi_private = path; > > + bi

Re: [PATCH] device-mapper: multipath hardware handler

2005-02-11 Thread Ingo Oeser
Hi Alasdair, Alasdair G Kergon wrote: > +/* > + * Constructs a hardware handler object, takes custom arguments > + */ > +typedef int (*hwh_ctr_fn) (struct hw_handler *hwh, unsigned arc, char > **argv); +typedef void (*hwh_dtr_fn) (struct hw_handler *hwh); > + > +typedef void (*hwh_pg_init_fn) (str

Re: [PATCH] device-mapper: multipath hardware handler for EMC

2005-02-11 Thread Christoph Hellwig
> +/* Code borrowed from dm-lsi-rdac by Mike Christie */ Any reason that module isn't submitted? > + bio->bi_bdev = path->dev->bdev; > + bio->bi_sector = 0; > + bio->bi_private = path; > + bio->bi_end_io = emc_endio; > + > + page = alloc_page(GFP_ATOMIC); > + if (!page) {

[PATCH] device-mapper: multipath hardware handler for EMC

2005-02-11 Thread Alasdair G Kergon
Outline Hardware Handler for EMC CLARiiON AX/CX-series. Signed-Off-By: Alasdair G Kergon <[EMAIL PROTECTED]> From: Lars Marowsky-Bree <[EMAIL PROTECTED]> --- diff/drivers/md/Kconfig 2005-02-09 14:41:52.0 + +++ source/drivers/md/Kconfig 2005-02-09 14:42:24.0 + @@ -233,

[PATCH] device-mapper: multipath hardware handler

2005-02-11 Thread Alasdair G Kergon
Each multipath instance can use a Hardware Handler with hooks for the particular hardware you're using. This patch provides the hw_handler infrastructure. So far 3 hooks are available: A status function invoked by device-mapper table and status requests. An initialisation function called