2006-10-03 15:24:17

by Thomas Maier

[permalink] [raw]
Subject: [PATCH 3/11] 2.6.18-mm3 pktcdvd: new pkt_find_dev()

Hello,

this patch adds a pkt_find_dev() function for reusability and
groups all pkt_find*() functions.
Also pkt_remove_dev() can use now the device id of the mapped
block device to remove the mapping.

http://people.freenet.de/BalaGi/download/pktcdvd-3-util-pkt_find_dev_2.6.18.patch

Note: patch 1/11 and 2/11 of this patch set were applied to 2.6.18-mm2 and
therefore are already in 2.6.18-mm3:
http://people.freenet.de/BalaGi/download/pktcdvd-2-pktdev_major_2.6.18.patch
http://people.freenet.de/BalaGi/download/pktcdvd-1-macro-driver-name_2.6.18.patch


Signed-off-by: Thomas Maier<[email protected]>

-Thomas Maier


Attachments:
pktcdvd-3-util-pkt_find_dev_2.6.18.patch (2.32 kB)

2006-10-05 19:51:51

by Peter Osterlund

[permalink] [raw]
Subject: Re: [PATCH 3/11] 2.6.18-mm3 pktcdvd: new pkt_find_dev()

"Thomas Maier" <[email protected]> writes:

> Also pkt_remove_dev() can use now the device id of the mapped
> block device to remove the mapping.

Why would that be desirable? I think it's better to implement this
feature in the user space tools and leave the kernel interface
simple.

--
Peter Osterlund - [email protected]
http://web.telia.com/~u89404340

2006-10-06 09:26:36

by Thomas Maier

[permalink] [raw]
Subject: Re: Re: [PATCH 3/11] 2.6.18-mm3 pktcdvd: new pkt_find_dev()

Hello,

the idea was to simply allow
map block-dev-id to pktcdvd
and
unmap block-dev-id from pktcdvd
since this functionality can be implemented easily without costs in pkt_remove_dev()

But it is ok to put it into user space.

-Thomas Maier

----- original Nachricht --------

Betreff: Re: [PATCH 3/11] 2.6.18-mm3 pktcdvd: new pkt_find_dev()
Gesendet: Do 05 Okt 2006 21:51:43 CEST
Von: "Peter Osterlund"<[email protected]>

> "Thomas Maier" <[email protected]> writes:
>
> > Also pkt_remove_dev() can use now the device id of the mapped
> > block device to remove the mapping.
>
> Why would that be desirable? I think it's better to implement this
> feature in the user space tools and leave the kernel interface
> simple.
>
> --
> Peter Osterlund - [email protected]
> http://web.telia.com/~u89404340
>

--- original Nachricht Ende ----