<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7601.17720"><LINK rel=stylesheet 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>Hi</FONT></DIV>
<DIV>&nbsp;&nbsp;&nbsp; I am using glusterfs now and reading the source code of 
the file read.Now I encounter the following question:</DIV>
<DIV>&nbsp;&nbsp; 1.What are the differences between the <EM>quick-read</EM> and 
<EM>io-cache</EM>&nbsp;in reading files?</DIV>
<DIV>&nbsp;&nbsp; 2.I find the <EM>writev(priv-&gt;fd,&nbsp;iov_out,&nbsp;count 
) </EM>function in <EM>fuse_readv_cbk </EM>function ,but I do not know its 
use.Does it write the content in iov_out to priv-&gt;fd? Is the 
<EM>priv-&gt;fd</EM> 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&nbsp;was so,where&nbsp;did the server store the content transferred?</DIV>
<DIV>&nbsp;&nbsp; Thank you!</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-04-10 
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>luogenxiong</SPAN> 
</FONT></DIV></FONT></BODY></HTML>