cool :) Thanks !! On Wed, Apr 4, 2012 at 9:38 PM, NeilBrown <neilb@xxxxxxx> wrote: > 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. > > NeilBrown > > >> >> -- >> 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 http://vger.kernel.org/majordomo-info.html > -- 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 http://vger.kernel.org/majordomo-info.html