All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Re: device mapper integrated loops - and one more year !
@ 2007-01-20 14:57 devzero
  2007-01-22  9:43 ` Bryn M. Reeves
  0 siblings, 1 reply; 9+ messages in thread
From: devzero @ 2007-01-20 14:57 UTC (permalink / raw)
  To: breeves; +Cc: dm-devel

Hello Bryn, 


>I'll see if we can get a revised version of the current patch for wider
>testing in the next couple of weeks - let me know if you would be
>interested in trying this out.

not sure if i sent a reply to this or have missed this -  but, yes - i`m still interested very much in using dm-loop !

is there anything new with this?
do i have to expect issues with files >2gb ? (i need to loopback mount dvd iso-images)

is there a download url for the latest dm-loop patch so i can do some tests and report feedback ?

i couldn`t find it at http://sources.redhat.com/cgi-bin/cvsweb.cgi/device-mapper/?cvsroot=dm  and i`m not sure if i should take that one from http://kernel.org/pub/linux/kernel/people/agk/patches/2.6/

TIA
roland



> Hello !
> 
> after desparately seeking for a solution to have more than 256 loop
> devices (for a huge cd-rom server), i have recently come across
> dm-loop, which looks very promising (to replace loop.c)
> 
> can i have more than 256 devices which this?

Hi Roland,

Yes, dm-loop will support as many loop devices as device-mapper can allow.

> our cd-rom server is going to have more than 256 iso-images soon and
> i need to upgrade to a more recent OS, anyway, so this won`t be a 
> problem that dm-loop is so brand new.
> 
> but - any timeline for dm-loop mainline inclusion ?
> 
> should i wait for 2.6.19 or 2.6.20 ?

There isn't a fixed timeline. We are currently working to improve the
lookup code - the prototype patch uses a linear search which doesn't
scale well for large/fragmented image files. I have some tests running
at the moment and we hope to have something soon - the results so far
are good, it's just a case of selecting between a couple of different
methods.

The changes dm-loop requires in device-mapper core are pretty minor and
have already been merged in 2.6.19, so it's just the dm-loop patch
itself remaining.

> is it already useable with less recent kernels, i.e. can i download
> dm-loop patch and recent dmsetup tool and use with older kernel ?

This should work fine - there are a couple of known issues with the
existing patch, but unless you are using large images (>2G), or have a
severely fragmented filesystem you shouldn't run into these.

I'll see if we can get a revised version of the current patch for wider
testing in the next couple of weeks - let me know if you would be
interested in trying this out.

Thanks,

Bryn.
__________________________________________________________________________
Erweitern Sie FreeMail zu einem noch leistungsstärkeren E-Mail-Postfach!		
Mehr Infos unter http://freemail.web.de/home/landingpad/?mc=021131

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: device mapper integrated loops - and one more year !
@ 2006-11-19 11:30 devzero
  0 siblings, 0 replies; 9+ messages in thread
From: devzero @ 2006-11-19 11:30 UTC (permalink / raw)
  To: dm-devel

Hello !

after desparately seeking for a solution to have more than 256 loop devices (for a huge cd-rom server), i have recently come across dm-loop, which looks very promising (to replace loop.c)

can i have more than 256 devices which this?

our cd-rom server is going to have more than 256 iso-images soon and i need to upgrade to a more recent OS, anyway, so this won`t be a problem that dm-loop is so brand new.

but - any timeline for dm-loop mainline inclusion ?

should i wait for 2.6.19 or 2.6.20 ?

is it already useable with less recent kernels, i.e. can i download dm-loop patch and recent dmsetup tool and use with older kernel ?

i really would like to give it a try - no problem if there are still bugs inside, because i`d happily test and report if there are bugs left.

regards
Roland K.
systems engineer


_______________________________________________________________________
Viren-Scan für Ihren PC! Jetzt für jeden. Sofort, online und kostenlos.
Gleich testen! http://www.pc-sicherheit.web.de/freescan/?mc=022222

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: device mapper integrated loops - and one more year !
@ 2006-10-06  9:38 David Guyon Martin
  2006-10-09 22:36 ` Jonathan E Brassow
  0 siblings, 1 reply; 9+ messages in thread
From: David Guyon Martin @ 2006-10-06  9:38 UTC (permalink / raw)
  To: dm-devel

On Thu, 5 Oct 2006 20:40:05 +0100 Alasdair G Kergon wrote:

>Something like:
>  http://www.kernel.org/pub/linux/kernel/people/agk/patches/2.6/editing/dm-loop.patch
>now perhaps?

>(And there are patches for dmsetup to become a drop-in losetup replacement.)

Yes! This patch add a new file to the kernel tree, dm-loop.c:
"This implements a loopback target for device mapper allowing a regular
file to be treated as a block device."

Great !!! At last :)
It seems this dm-loop is quite new, less than a month...
As I understand it I need kernel 2.6.18-rc7 to use it, right ?

I really thank you a lot for your quick answer and link.

Does anyone has yet a feedback about this dm-loop ?

David G.M.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* device mapper integrated loops - and one more year !
@ 2006-10-05 14:26 David Guyon Martin
  2006-10-05 19:40 ` Alasdair G Kergon
  0 siblings, 1 reply; 9+ messages in thread
From: David Guyon Martin @ 2006-10-05 14:26 UTC (permalink / raw)
  To: dm-devel


[-- Attachment #1.1: Type: text/plain, Size: 846 bytes --]

Hello,

Do you think dm could have a loop target instead of seting loops with
losetup ?
We allready have dm-crypt for the encryption stage of a "losetup -e
<crypt>", dm replaces losetup when source is a device but I understand that
we still need losetup if the source is a regular file.
Our problem is that we will need to map a great number of files, as if they
were PVs of a VG. Linux kernel can have up to 255 loops but we will reach
this limit.

The idea is to embed to loop itself in a device mapper add-on like dm-crypt,
so we won't use any /dev/loop* .

Do you think this is stupid or is there some possility out there ?
(we would like to have some advice before starting any project in this
direction)

Thank you,
David G.M.

PS:
Anniversary of this post, one year ago !
http://www.redhat.com/archives/dm-devel/2005-October/msg00031.html

[-- Attachment #1.2: Type: text/html, Size: 1011 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-01-22  9:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-20 14:57 Re: device mapper integrated loops - and one more year ! devzero
2007-01-22  9:43 ` Bryn M. Reeves
  -- strict thread matches above, loose matches on Subject: below --
2006-11-19 11:30 devzero
2006-10-06  9:38 David Guyon Martin
2006-10-09 22:36 ` Jonathan E Brassow
2006-10-10 18:37   ` Heinz Mauelshagen
2006-10-10 20:11     ` David Guyon Martin
2006-10-05 14:26 David Guyon Martin
2006-10-05 19:40 ` Alasdair G Kergon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.