<div dir="ltr"><div>+ vijay mallikarjuna for quotad has similar concerns<br><br></div>+ Raghavendra Bhat for snapd might&#39;ve similar concerns.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 12:02 PM, Raghavendra Gowdappa <span dir="ltr">&lt;<a href="mailto:rgowdapp@redhat.com" target="_blank">rgowdapp@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+gluster-devel<br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Raghavendra Gowdappa&quot; &lt;<a href="mailto:rgowdapp@redhat.com">rgowdapp@redhat.com</a>&gt;<br>
&gt; To: &quot;Krishnan Parthasarathi&quot; &lt;<a href="mailto:kparthas@redhat.com">kparthas@redhat.com</a>&gt;<br>
&gt; Cc: &quot;Nithya Balachandran&quot; &lt;<a href="mailto:nbalacha@redhat.com">nbalacha@redhat.com</a>&gt;, &quot;Anoop C S&quot; &lt;<a href="mailto:achiraya@redhat.com">achiraya@redhat.com</a>&gt;<br>
&gt; Sent: Tuesday, 7 July, 2015 11:32:01 AM<br>
&gt; Subject: on patch #11553<br>
&gt;<br>
&gt; KP,<br>
&gt;<br>
&gt; Though the crash because of lack of init while fops are in progress is<br>
&gt; solved, concerns addressed by [1] are still valid. Basically what we need to<br>
&gt; guarantee is that when is it safe to wind fops through a particular subvol<br>
&gt; of protocol/server. So, if some xlators are doing things in events like<br>
&gt; CHILD_UP (like trash), server_setvolume should wait for CHILD_UP on a<br>
&gt; particular subvol before accepting a client. So, [1] is necessary but<br>
&gt; following changes need to be made:<br>
&gt;<br>
&gt; 1. protocol/server _can_ have multiple subvol as children. In that case we<br>
&gt; should track whether the exported subvol has received CHILD_UP and only<br>
&gt; after a successful CHILD_UP on that subvol connections to that subvol can be<br>
&gt; accepted.<br>
&gt; 2. It is valid (though not a common thing on brick process) that some subvols<br>
&gt; can be up and some might be down. So, child readiness should be localised to<br>
&gt; that subvol instead of tracking readiness at protocol/server level.<br>
&gt;<br>
&gt; So, please revive [1] and send it with corrections and I&#39;ll merge it.<br>
&gt;<br>
&gt; [1] <a href="http://review.gluster.org/11553" rel="noreferrer" target="_blank">http://review.gluster.org/11553</a><br>
&gt;<br>
&gt; regards,<br>
&gt; Raghavendra.<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@gluster.org">Gluster-devel@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-devel" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Raghavendra G<br></div>
</div>