<div dir="rtl"><div dir="ltr">Hi.<br><br>If I have 2 servers in AFR pair, each of them is both client and server, what is the option to make each server read/write from itself first?<br><br>I found an option:<br><br><ul><li>
 <b>read-subvolume (default: none)</b>
</li></ul>
<dl><dd><dl><dd> The value of this option must be the name of a
subvolume. If given, all read operations are sent to only the specified
subvolume, instead of being balanced across all subvolumes.
</dd></dl>
</dd></dl><br>But it seems it might actually lower the performance, deducted from here:<br><br><p>&quot;All operations that do not modify the file or directory are sent to
all the subvolumes and the <b>first successful reply is returned to the
application</b>.
The read() system call (reading data from a file) is an exception. For
read() calls, AFR tries to do <b>load balancing by sending all reads from
a particular file to a particular server</b>.
</p><p>The read algorithm is also affected by the option read-subvolume; see below for details.&quot;</p>Is it correct, and how this server is determined?<br><br>Also, should I use the above option, or let GlsuterFS to decide for himself?<br>
<br>Thanks!<br></div></div>