Re: [PATCH] DM RAID: Ensure the bitmap region_size is a power of 2

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

 



On Wed, Dec 12, 2012 at 08:53:32AM -0600, Jon Brassow wrote:
> This is probably a better way to do it...
 
Indeed.  I'll pick this one up.

> DM RAID:  Ensure the bitmap region_size is a power of 2
> 
> If the user does not supply a region_size, a reasonable size is computed
> automatically.  However, region_size needs to be a power of 2 and the
> code was not properly ensuring that.
 
And this is just a cleanup patch: to provide a controlled error message
here, rather than triggering a controlled error inside the md code
later.

Alasdair

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux