Re: [PATCH][RFC] fast file mapping for loop

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Neil Brown <neilb@...>
Cc: Jens Axboe <jens.axboe@...>, <linux-kernel@...>, <linux-fsdevel@...>, Mikulas Patocka <mikulas@...>, Bryn M. Reeves <breeves@...>
Date: Friday, January 11, 2008 - 10:21 am

On Fri, 11 Jan 2008 10:01:18 +1100
Neil Brown <neilb@suse.de> wrote:


DM is also a framework where you can introduce completely new types of
block devices without having to go through the associated pain of
finding major numbers.  In terms of developing new things with greater
flexibility, I think it is easier.
 

raid in dm aside (that's an entirely different debate ;), loop is a
pile of things which dm can nicely layer out into pieces (dm-crypt vs
loopback crypt).  Also, dm doesn't have to jump through hoops to get a
variable number of minors.

Yes, the loop side was recently improved for # of minors, and it does
have enough in there for userland to do variable number of minors, but
this is one specific case where dm is just easier.

At any rate, I'm all for ideas that make dm less of the evil stepchild
of the block layer ;)  I'm not saying everything should be dm, but I
did want to point out that dm-loop isn't entirely silly.

I have a version of Jens' patch in testing here that makes a new API
with the FS for mapping extents and hope to post it later today.

-chris
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][RFC] fast file mapping for loop, Neil Brown, (Thu Jan 10, 7:01 pm)
Re: [PATCH][RFC] fast file mapping for loop, Chris Mason, (Fri Jan 11, 10:21 am)