[PATCH] dmraid: Align table size to chunksize

Hannes Reinecke hare at suse.de
Thu Aug 10 06:47:35 UTC 2006


Hi all,

For some reason the size of a striped table in dmraid will be aligned to 
the chunksize only if F_MAXIMIZE is set. However, I couldn't find any 
instance where F_MAXIMIZE is indeed set.
And device-mapper doesn't like it anyway if the table size is not a 
multiple of the chunk size.
The attached patch just removes the reference to F_MAXIMIZE and have the 
table size always a multiple of the chunk size.

Please apply.

Cheers,

Hannes
-- 
Dr. Hannes Reinecke			hare at suse.de
SuSE Linux Products GmbH		S390 & zSeries
Maxfeldstraße 5				+49 911 74053 688
90409 Nürnberg				http://www.suse.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmraid_round_table_size.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/ataraid-list/attachments/20060810/8945c94b/attachment.bin>


More information about the Ataraid-list mailing list