Thread (8 messages) 8 messages, 3 authors, 2014-01-07

Breaking up a bvec in a bio for reading more than 512

From: Rajat Sharma <hidden>
Date: 2014-01-04 00:55:53

create multiple bio.

-Rajat


On Fri, Jan 3, 2014 at 3:41 PM, neha naik [off-list ref] wrote:
Hi All,
   I am getting a request with bvec->bv_len > 512. Now, the
information to be read is scattered across the entire disk in 512
chunks. So that, information on disk can be : sector 8, sector 100,
sector 9.
 Now if i get a request to read with the bvec->bv_len > 512 i need to
pull in the information from
multiple places on disk since the data is not sequentially located.
 I tried to look at the linux source code because i think raid must be
doing it all the time. (eg : on disk 1 we may be storing sector 6 and
on disk 2 we may be storing sector 7 and so on).
  However, i have not really got any useful information from it. Also
scouring through articles on
google has not helped much.
   I am hoping somebody points me in the right direction.

Thanks in advance,
Neha

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140103/6ce3da41/attachment.html 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help