Re: mdadm Some Makefile changes , Hth , JimL

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

 



On Friday April 5, babydr@baby-dragons.com wrote:
> 
> 	Hello Neil ,  Something funny in the --Detail output from a raid5
> 	array I maintain , see below .  Tia ,  JimL
> 
>  mdadm-0.8.1# mdadm -v -D /dev/md0
> /dev/md0:
>         Version : 00.90.00
>   Creation Time : Sat Apr 14 06:16:46 2001
>      Raid Level : raid5
>      Array Size : 892800 (871.87 MiB 914.22 MB)
>                   ^^^^^^

Thanks:
 I had
     larray_size = array_size << 9;
 when array_size was a "long" and larray_size was "long long"
 so some high bits got lost.
 It is now 
     larray_size = array_size;
     larray_size <<= 9;
 which should work correctly.

NeilBrown
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
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