public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Phillip Susi <psusi@cfl.rr.com>
To: Alasdair G Kergon <agk@redhat.com>,
	Phillip Susi <psusi@cfl.rr.com>, Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org,
	Heinz Mauelshagen <mauelshagen@redhat.com>
Subject: Re: dm stripe: Fix bounds
Date: Thu, 12 Oct 2006 16:47:59 -0400	[thread overview]
Message-ID: <452EA9FF.2040602@cfl.rr.com> (raw)
In-Reply-To: <20061012183529.GF17654@agk.surrey.redhat.com>

Alasdair G Kergon wrote:
> On Thu, Oct 12, 2006 at 02:14:05PM -0400, Phillip Susi wrote:
>> So you are saying that dmraid should build 3 tables: 1 for the bulk of 
>> the array, 1 for only the last stripe, and 1 linear to connect them?
>  
> No.  1 table.  2 consecutive targets with different stripe sizes, if that's
> how the data is actually laid out.
> 

One stripe table can only contain one stripe size, so to have two would 
require two tables, and a third table to tie them back together.

>> the only problem comes from the last 
>> stripe.  How else could you map the last stripe other than laying down x 
>> sectors onto y drives as x / y sectors on each drive in sequence?
>  
> Depends whether or not you give precedence to the stripe size.
> The underlying device might be much larger - dm doesn't know or care - and
> the intention of userspace might have been to truncate a larger striped
> device part-way through one of the stripes - an equally reasonable thing to
> do.

The entire idea of a stripe is that you are using multiple identical 
drives ( or partitions ), so it doesn't make any sense to be able to 
truncate one of the drives.  In any case, this is not something you can 
do now, so the fact that you could not do it then either does not seem 
to be a good argument against allowing partial tails.



  reply	other threads:[~2006-10-12 20:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-16 15:11 dm stripe: Fix bounds Alasdair G Kergon
2006-10-12  4:01 ` Phillip Susi
2006-10-12 13:59   ` Alasdair G Kergon
2006-10-12 15:31     ` Phillip Susi
2006-10-12 16:05       ` Alasdair G Kergon
2006-10-12 18:14         ` Phillip Susi
2006-10-12 18:35           ` Alasdair G Kergon
2006-10-12 20:47             ` Phillip Susi [this message]
2006-10-13 22:22               ` Alasdair G Kergon
2006-10-17  8:50     ` Heinz Mauelshagen
2006-10-17 18:19       ` Phillip Susi

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=452EA9FF.2040602@cfl.rr.com \
    --to=psusi@cfl.rr.com \
    --cc=agk@redhat.com \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mauelshagen@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox