From: Kevin Corry <kevcorry@us.ibm.com>
To: Marcelo Tosatti <marcelo.tosatti@cyclades.com>,
Joe Thornber <thornber@sistina.com>
Cc: Linux Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Device-mapper submission for 2.4
Date: Tue, 9 Dec 2003 11:45:04 -0600 [thread overview]
Message-ID: <200312091145.04511.kevcorry@us.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0312091206490.1289-100000@logos.cnet>
On Tuesday 09 December 2003 08:10, Marcelo Tosatti wrote:
> On Tue, 9 Dec 2003, Joe Thornber wrote:
> > On Tue, Dec 09, 2003 at 11:15:08AM -0200, Marcelo Tosatti wrote:
> > > I believe 2.6 is the right place for the device mapper.
> >
> > So what's the difference between a new filesystem like XFS and a new
> > device driver like dm ?
>
> Expected question...
>
> XFS is a totally different filesystem from the ones present in 2.4.
>
> As far as I know, we already have the similar functionality in 2.4 with
> LVM. Device mapper provides the same functionality but in a much cleaner
> way. Is that right?
Hi Marcelo,
With all due respect, I don't really agree with this assessment.
To the casual observer, XFS is just another filesystem. It's used to manage
files, just like with ext3, Reiser, or JFS. However, XFS provides certain
features and performance characteristics that may not be found in the other
filesystems. For this reason, many people prefer XFS over the other
filesystems, and have pushed for its inclusion in the 2.4 kernel. Of course,
I'd argue that just as many (if not more) people have very little preference
as to which filesystem they use. They're happy as long as their data doesn't
get corrupted if their system crashes.
The situation with Device-Mapper is *very* similar. There are plenty of people
that are happy using LVM1, and probably don't care much about Device-Mapper
at this point. But there are also many people who prefer the improved
features offered by using Device-Mapper. The two new volume management tools,
LVM2 and EVMS, provide significant improvements over LVM1, such as improved
metadata formats, more reliable metadata updates, better user interfaces, in
addition to features that aren't available with LVM1, such as asynchronous
snapshots. Device-Mapper also provides a modular interface for adding new
functionality. For example, the EVMS project includes a module for performing
block-level bad-block-relocation, and another developer has contributed a
module for block-level encryption based on the crypto API. These new volume
management tools only work with Device-Mapper, because LVM1 simply doesn't
have the flexibility necessary to provide these capabilities. Again, this
situation seems to closely mirror the situation with XFS vs. the existing
filesystems.
Another compelling reason in my mind is that unlike the variety of filesystems
that exist both in 2.4 and in 2.6, LVM1 is no longer available in 2.6. Many
LVM1 users have been eager to try out 2.6 (and I certainly agree with you
that we need to convince more people to make this switch) but the fact that
their current tools are useless on 2.6 makes the transition far more painful.
It would be a huge benefit if these folks were able to first transition to
the new volume management tools while remaining on a 2.4 kernel. Then after
they're comfortable with this first switch, they can begin transitioning to a
2.6 kernel, where the new tools will work seemlessly.
I certainly understand your apprehension about accepting new drivers that
modify common kernel code. As with XFS, nearly all of the submitted code sits
in its own directory, and is only enabled if a user decides he needs it. And
the common changes really are incredibly minimal.
Joe's first patch changes all of 8 lines in the JBD code, which is done to
prevent JBD and Device-Mapper from stepping on each other's private data. The
second patch (mempool) only adds new functionality that won't affect any
existing code. (I'm actually suprised the mempool code hasn't been merged
yet, since it would be quite useful for any number of drivers and/or
filesystems besides Device-Mapper. It has certainly come in quite handy in
2.6.) And the changes in arch/ are simply to support the Device-Mapper
interface on 64-bit architectures.
I'd be happy to answer any questions or provide any other information that
would help you with this decision. If you'd like additional review of the
common code changes, I'll gladly look for volunteers to help with what should
be a very simple review.
I truly believe that including Device-Mapper will not only benefit users who
wish to continue on the 2.4 platform, but also those who are looking for an
easier path to migrate to 2.6.
Thanks very much for your time, Marcelo!
--
Kevin Corry
kevcorry@us.ibm.com
http://evms.sourceforge.net/
next prev parent reply other threads:[~2003-12-09 17:47 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-09 11:58 Device-mapper submission for 2.4 Joe Thornber
2003-12-09 12:24 ` [Patch 1/4] fs.h: b_journal_head Joe Thornber
2003-12-09 23:46 ` Nathan Scott
2003-12-10 8:46 ` Joe Thornber
2003-12-10 12:06 ` Nathan Scott
2003-12-09 12:25 ` [Patch 2/4] dm: mempool backport Joe Thornber
2003-12-09 12:26 ` [Patch 3/4] dm: core files Joe Thornber
2003-12-09 12:26 ` [Patch 4/4] dm: ioctl interface Joe Thornber
2003-12-09 13:15 ` Device-mapper submission for 2.4 Marcelo Tosatti
2003-12-09 13:45 ` Joe Thornber
2003-12-09 14:00 ` Måns Rullgård
2003-12-09 14:10 ` Muli Ben-Yehuda
2003-12-09 14:21 ` Måns Rullgård
2003-12-09 14:16 ` Joe Thornber
2003-12-09 14:24 ` Stefan Smietanowski
2003-12-09 14:10 ` Marcelo Tosatti
2003-12-09 14:34 ` Joe Thornber
2003-12-09 21:07 ` Paul Jakma
2003-12-09 22:26 ` Joe Thornber
2003-12-09 22:48 ` Marcelo Tosatti
2003-12-09 23:46 ` Paul Jakma
2003-12-09 23:58 ` William Lee Irwin III
2003-12-10 0:15 ` Paul Jakma
2003-12-10 11:49 ` Stephan von Krawczynski
2003-12-10 23:15 ` Dave Jones
2003-12-10 0:27 ` Jose Luis Domingo Lopez
2003-12-10 0:59 ` Tupshin Harper
2003-12-10 9:40 ` Wichert Akkerman
2003-12-10 2:44 ` Martin J. Bligh
2003-12-10 15:55 ` Paul Jakma
2003-12-10 16:54 ` venom
2003-12-10 17:00 ` Paul Jakma
2003-12-10 17:14 ` venom
2003-12-10 23:40 ` Mike Fedyk
2003-12-11 19:48 ` Alasdair G Kergon
2003-12-16 19:15 ` bill davidsen
2003-12-16 19:01 ` bill davidsen
2003-12-10 8:45 ` Jens Axboe
2003-12-10 17:30 ` Paul Jakma
2003-12-10 17:44 ` Joe Thornber
2003-12-10 17:48 ` venom
2003-12-10 18:07 ` Paul Jakma
2003-12-10 19:30 ` Jens Axboe
2003-12-09 17:02 ` Bill Rugolsky Jr.
2003-12-09 22:53 ` Ciaran McCreesh
2003-12-10 3:38 ` Lincoln Dale
2003-12-10 6:12 ` Willy Tarreau
2003-12-10 6:35 ` viro
2003-12-09 17:45 ` Kevin Corry [this message]
2003-12-09 19:47 ` Paul P Komkoff Jr
2003-12-09 14:23 ` Stefan Smietanowski
2003-12-09 14:36 ` Joe Thornber
2003-12-09 19:50 ` William Lee Irwin III
2003-12-09 21:13 ` Paul Jakma
2003-12-10 0:49 Carl-Daniel Hailfinger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200312091145.04511.kevcorry@us.ibm.com \
--to=kevcorry@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=thornber@sistina.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).