Re: doubt in chunk_aligned_read()

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

On Wed, 4 Apr 2012 21:25:53 -0400 Anuj Goel <talk2anuj@xxxxxxxxx> wrote:

> HI Guys,
> Why is the below call needed in the function  chunk_aligned_read()
> 	align_bi = bio_clone_mddev(raid_bio, GFP_NOIO, mddev);
> Why do we need to create a clone of the bio passed to
> chunk_aligned_read(mddev_t *mddev, struct bio * raid_bio) ??

Think about what happens if the read fails.


> --
> Best Regards,
> Anuj Goel
> Experimental Computer Science Lab
> Stony Brook University.
> Cell: +1-801-209-5873
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at

Attachment: signature.asc
Description: PGP signature

[ATA RAID]     [Linux SCSI Target Infrastructure]     [Managing RAID on Linux]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device-Mapper]     [Kernel]     [Linux Books]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Photos]     [Yosemite Photos]     [Yosemite News]     [AMD 64]     [Linux Networking]

Add to Google Powered by Linux