I'm new to kernel coding and I have this doubt. I'm trying to write a<br>simple dm-target which will concatenate devices and perform io<br>operations on it.<br><br>There are a couple of things that I'm stuck up with......any help is<br>
appreciated ...<br>hi all,<br><br><br>1. What do the presuspend and postsuspend fields in struct target_type mean ?<br><br>2. A bio request for read is split into no. of bios (here we're also<br>splitting bvec's wherever necessary) for reading from different<br>
devices. For splitting the bvec's we are using the function split_bvec<br>(drivers/md/dm.c).<br>Now, after read completion, we've multiple bios with data in pages<br>pointed by bvec. For satisfying the read request, we want to merge the<br>
data available in bios (Because we have splitted one bvec from<br>original bio into no. of bios).<br><br>How can we merge these bvec's into one bvec for original bio?<br>Does the function dm_merge_bvec (dm.c) serve the same purpose?<br>
<br>Thanks and Regards,<br>Nishant<br><br>