Re: RAID4 and RAID5 Code

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

 



On Thursday May 14, sandeepksinha@xxxxxxxxx wrote:
> Hi all,
> 
> Looks like we have the same code for RAID 4 and RAID 5, I could see
> the same make_request for both.
> 
> Can someone point me in the code, where exactly we differentiate
> between these two. i.e updating checksum block, etc.

Look for "conf->level" in e.g. raid5_compute_sector.

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