[Gluster-devel] several question about reading

luogenxiong luogenxiong at 360buy.com
Tue Apr 10 07:30:22 UTC 2012


Hi
    I am using glusterfs now and reading the source code of the file read.Now I encounter the following question:
   1.What are the differences between the quick-read and io-cache in reading files?
   2.I find the writev(priv->fd, iov_out, count ) function in fuse_readv_cbk function ,but I do not know its use.Does it write the content in iov_out to priv->fd? Is the priv->fd is referenced to the file been reading? And I found this would cause the communication between the client and the server and the message transferred is large.Does it transfer the content in iov_out to the server ? If this was so,where did the server store the content transferred?
   Thank you!
2012-04-10 



luogenxiong 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20120410/57417c51/attachment-0003.html>


More information about the Gluster-devel mailing list