CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2013/11/05 01:55:58
Modified files:
sys/dev : softraid_raid0.c softraid_raid6.c
softraid_raidp.c
Log message:
Fix RAID levels 0, 4, 5, and 6 with partitions larger than 2TB.
A 64bit bit operation with the 32bit strip size could overflow and
result in ridiculously small volumes when using large partitions (eg.
4x 3TB in RAID 5 resulted in a ~2TB volume). It is fixed by casting
the strip size to an unsigned 64bit value.
ok tedu@ millert@ deraadt@