Re: dm stripe: Fix bounds

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

> 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.

Alasdair
-- 
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux