All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: dm-devel@redhat.com
Subject: Re: [PATCH v2] dm table: verify each table mapping is HW sector aligned
Date: Mon, 13 Apr 2009 12:02:21 -0400	[thread overview]
Message-ID: <20090413160221.GA4709@redhat.com> (raw)
In-Reply-To: <20090410043106.GA18995@redhat.com>

On Fri, Apr 10 2009 at 12:31am -0400,
Mike Snitzer <snitzer@redhat.com> wrote:

> On Thu, Apr 09 2009 at 11:58pm -0400,
> Mike Snitzer <snitzer@redhat.com> wrote:
> 
> > Each mapping in a DM table must be properly aligned on HW sector
> > boundaries.  This is particularly important when a DM table is composed
> > of mappings for devices with different HW sector sizes.
> > 
> > Signed-off-by: Mike Snitzer <snitzer@redhat.com>
> > ---
> >  drivers/md/dm-table.c |  112 +++++++++++++++++++++++++++++++++++++++++++------
> >  1 files changed, 99 insertions(+), 13 deletions(-)
> 
> This patch applies cleanly, but with fuzz, to the most recent linux-2.6
> (as of this writing: 62b8e680e).

But I just noticed a flaw in the 'remaining_sectors' calculation (when
the target's len is less than the overall table's H/W sector size).
I'll be posting a new patch (v3) shortly.

Mike

      reply	other threads:[~2009-04-13 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-10  3:58 [PATCH v2] dm table: verify each table mapping is HW sector aligned Mike Snitzer
2009-04-10  4:31 ` Mike Snitzer
2009-04-13 16:02   ` Mike Snitzer [this message]

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=20090413160221.GA4709@redhat.com \
    --to=snitzer@redhat.com \
    --cc=dm-devel@redhat.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 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.