Re: [Evms-devel] Re: Linux v2.5.42

Christoph Hellwig (hch@infradead.org)
Mon, 14 Oct 2002 16:21:34 +0100


On Mon, Oct 14, 2002 at 01:41:51AM +0800, Michael Clark wrote:
> From the discussion so far:
>
> Pros
> * Simplify ioctl routing to plugins

* allow code reuse
* simplify userspace access to intermediate layer
* avoid data duplication
* avoid having different data structures for very differen things

> Cons
> * Chew up a minor
> * Get a block device we don't need or want (ie. we can still easily
> directly access the underlying physical block devices)
> * loose purely logical remapping abstraction in plugins

Explain the exact meaning of this to non/native speakers like me, please

> * Complicate mapping of request queues to devices (ie. shouldn't only
> the top level volume device and the underlying physical devices need
> request queues)

You need struct request queue as data structure, but you don't actually
need a queue. Please check the code.

And no, I don't think having a peoper, custom make_request_fn will
complicate the code.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/