<html><body><div style="font-family: garamond,new york,times,serif; font-size: 12pt; color: #000000"><div>What was the test that led to this?</div><div>-Krutika</div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Emmanuel Dreyfus" &lt;manu@netbsd.org&gt;<br><b>To: </b>"Krutika Dhananjay" &lt;kdhananj@redhat.com&gt;<br><b>Cc: </b>"Emmanuel Dreyfus" &lt;manu@netbsd.org&gt;, "Gluster Devel" &lt;gluster-devel@gluster.org&gt;<br><b>Sent: </b>Wednesday, December 3, 2014 2:27:21 PM<br><b>Subject: </b>Re: [Gluster-devel] question on glustershd<br><div><br></div>On F_WRLCKed, Dec 03, 2014 at 01:39:56AM -0500, Krutika Dhananjay wrote:<br>&gt; Come to think of it, it does not really matter whether the two bricks are on the same node or not. <br>&gt; In either case, there may not be a lock contention between healers associated with different bricks, irrespective of whether they are part of the same SHD or SHDs on different nodes. <br><div><br></div>The traces I have been collecting suggest the two healers locks the same<br>inodes &nbsp;Here is what happens when gluster volume heal full is invoked:<br>two inodes, each of them locking on each subvolume.<br><div><br></div>[afr-self-heald.c:699:afr_shd_full_healer]<br>&nbsp;&nbsp; &nbsp;0-patchy-replicate-0: starting full sweep on subvol patchy-client-0<br>[afr-self-heald.c:699:afr_shd_full_healer]<br>&nbsp;&nbsp; &nbsp;0-patchy-replicate-0: starting full sweep on subvol patchy-client-1<br>[afr-self-heal-metadata.c:328:afr_selfheal_metadata] <br>&nbsp;&nbsp; &nbsp;0-XXXmanu: afr_selfheal_tryinodelk 3fb88af1-fe9b-421a-a197-3bf2fc88768b<br>[client.c:1672:client_inodelk]<br>&nbsp;&nbsp; &nbsp;0-XXXmanu: INODELK patchy-replicate-0:self-heal patchy-client-0 F_WRLCK<br>[client.c:1672:client_inodelk]<br>&nbsp;&nbsp; &nbsp;0-XXXmanu: INODELK patchy-replicate-0:self-heal patchy-client-1 F_WRLCK<br>[afr-self-heal-metadata.c:328:afr_selfheal_metadata]<br>&nbsp;&nbsp; &nbsp;0-XXXmanu: afr_selfheal_tryinodelk 3fb88af1-fe9b-421a-a197-3bf2fc88768b<br>[client.c:1672:client_inodelk]<br>&nbsp;&nbsp; &nbsp;0-XXXmanu: INODELK patchy-replicate-0:self-heal patchy-client-0 F_WRLCK<br>[client.c:1672:client_inodelk]<br>&nbsp;&nbsp; &nbsp;0-XXXmanu: INODELK patchy-replicate-0:self-heal patchy-client-1 F_WRLCK<br>-- <br>Emmanuel Dreyfus<br>manu@netbsd.org<br></blockquote><div><br></div></div></body></html>