Re: [PATCH] FIX: chunk_size cannot be read by mdstat

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

 



On Tue, 30 Nov 2010 07:28:01 +0000 "Kwolek, Adam" <adam.kwolek@xxxxxxxxx>
wrote:

> In such case code: 
> 	a->info.array.chunk_size = mdstat->chunk_size;
> 
> from managemon.c, function manage_member() 
> has to be removed or guarded for 0 value of mdstat->chunk_size as it corrupts information in active array.
> 

Good point.  I have removed that assignment, and removed the chunk_size field
from mdstat_ent.

Thanks,
NeilBrown

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