<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/performance, branch v3.1.6qa4</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>performance/io-cache: fix deadlock in ioc_fault_cbk</title>
<updated>2011-08-05T09:40:10+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2011-08-05T09:21:27+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=dfc317a77faa57f1bb6933b35c362035f467bf94'/>
<id>dfc317a77faa57f1bb6933b35c362035f467bf94</id>
<content type='text'>
Change-Id: I899abecd17025c299819b36c2d39adc52adb1bd6
BUG: 3340
Reviewed-on: http://review.gluster.com/177
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I899abecd17025c299819b36c2d39adc52adb1bd6
BUG: 3340
Reviewed-on: http://review.gluster.com/177
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/io-cache: hold lock on ioc_inode whereever a page is being accessed/modified</title>
<updated>2011-07-29T08:31:24+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2011-07-19T11:24:42+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=5d99cd2833a8e6a9452c3f8c3785ae96154fb63b'/>
<id>5d99cd2833a8e6a9452c3f8c3785ae96154fb63b</id>
<content type='text'>
Change-Id: Idbec92e3ffb838a0ac866fb42ceb6ee26a0b8a87
BUG: 2939
Reviewed-on: http://review.gluster.com/25
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Idbec92e3ffb838a0ac866fb42ceb6ee26a0b8a87
BUG: 2939
Reviewed-on: http://review.gluster.com/25
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title> performance/quick-read: Handle unwinding of frame</title>
<updated>2011-07-29T08:29:04+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2011-07-20T05:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=6a03c6c49c277d5dcf4ed9d4904361fe7ef305f7'/>
<id>6a03c6c49c277d5dcf4ed9d4904361fe7ef305f7</id>
<content type='text'>
 corresponding to read fop properly, while validating cache.

  - there was a possibility of double unwind in case of errors.
  - use a new frame to do open in fd-based fops.
    In case of errors, qr_resume_pending_ops will be called to resume all the
    fops waiting on open. Hence if we use frame corresponding to fop (without
    creating a new one), there is a possibility of frame being freed by the
    time open would've returned to quick-read.

Change-Id: I45a528e02b0886d22161ac24ab3e147a26d5ee7d
BUG: 3168
Reviewed-on: http://review.gluster.com/53
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 corresponding to read fop properly, while validating cache.

  - there was a possibility of double unwind in case of errors.
  - use a new frame to do open in fd-based fops.
    In case of errors, qr_resume_pending_ops will be called to resume all the
    fops waiting on open. Hence if we use frame corresponding to fop (without
    creating a new one), there is a possibility of frame being freed by the
    time open would've returned to quick-read.

Change-Id: I45a528e02b0886d22161ac24ab3e147a26d5ee7d
BUG: 3168
Reviewed-on: http://review.gluster.com/53
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>quick-read: Fix dirname(3) usage</title>
<updated>2011-07-29T08:28:37+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2011-05-20T16:56:29+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=b221477eb60b22f2cbe994568f76f35b78369e24'/>
<id>b221477eb60b22f2cbe994568f76f35b78369e24</id>
<content type='text'>
glibc dirname() modify the string it is given and returns it.
glusterfs takes this behavior for granted, and assume that if it
gives a malloc'ed string to dirname(), then it can free()) the
return value.

Here is what SUSv2 says:
http://opengroup.org/onlinepubs/007908799/xsh/dirname.html
"The dirname() function may modify the string pointed to by path,
and may return a pointer to static storage"

At least NetBSD returns a static storage. glusterfs will return it to
a calling function that has the responsability to free it, causing
a SIGSEGV.

Thanks to: Emmanuel Dreyfus &lt;manu@netbsd.org&gt;

Change-Id: I8b1b946a005ee487b4b9fb23c0f85a41facfe7c4
BUG: 2923
Reviewed-on: http://review.gluster.com/52
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
glibc dirname() modify the string it is given and returns it.
glusterfs takes this behavior for granted, and assume that if it
gives a malloc'ed string to dirname(), then it can free()) the
return value.

Here is what SUSv2 says:
http://opengroup.org/onlinepubs/007908799/xsh/dirname.html
"The dirname() function may modify the string pointed to by path,
and may return a pointer to static storage"

At least NetBSD returns a static storage. glusterfs will return it to
a calling function that has the responsability to free it, causing
a SIGSEGV.

Thanks to: Emmanuel Dreyfus &lt;manu@netbsd.org&gt;

Change-Id: I8b1b946a005ee487b4b9fb23c0f85a41facfe7c4
BUG: 2923
Reviewed-on: http://review.gluster.com/52
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/quick-read: Perform error handling only when GF_CALLOC fails</title>
<updated>2011-07-29T08:28:05+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vijay@gluster.com</email>
</author>
<published>2011-06-21T05:07:04+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=1c1171c70869738bb7a368b86d1f6cab8467a3f6'/>
<id>1c1171c70869738bb7a368b86d1f6cab8467a3f6</id>
<content type='text'>
Change-Id: I7a1e2cae3de8794b252ebbf0de7ffab5ba2900d1
BUG: 3011
Reviewed-on: http://review.gluster.com/51
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijay Bellur &lt;vijay@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7a1e2cae3de8794b252ebbf0de7ffab5ba2900d1
BUG: 3011
Reviewed-on: http://review.gluster.com/51
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Vijay Bellur &lt;vijay@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/quick-read: dump inode and fdctx during statedump.</title>
<updated>2011-07-29T08:27:19+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2011-07-15T05:13:27+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=8bed407e822ab3ae3e5102012282affe06a4cdf6'/>
<id>8bed407e822ab3ae3e5102012282affe06a4cdf6</id>
<content type='text'>
Change-Id: I8641e1f2e9e031c1b443821b16ef4a365926a8a8
BUG: 1059
Reviewed-on: http://review.gluster.com/50
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I8641e1f2e9e031c1b443821b16ef4a365926a8a8
BUG: 1059
Reviewed-on: http://review.gluster.com/50
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/quick-read: propagate errors during open back to actual fops.</title>
<updated>2011-07-29T08:26:32+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2011-07-15T05:12:52+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=a31fe944e714f75dcd0f6d58d0776c1139548383'/>
<id>a31fe944e714f75dcd0f6d58d0776c1139548383</id>
<content type='text'>
- If open fails and there are any other fops waiting on that open, those fops
    should also unwind with appropriate errors. Before this patch, irrespective
    of success/failure of open, fops waiting on it were stack_wound and since
    fd was invalid, they would fail with EBADFD errors. Due to this
    actual error would've got masked by EBADFD.

Change-Id: I65f88a681ea573a964fae132073696d32701882f
BUG: 2346
Reviewed-on: http://review.gluster.com/49
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- If open fails and there are any other fops waiting on that open, those fops
    should also unwind with appropriate errors. Before this patch, irrespective
    of success/failure of open, fops waiting on it were stack_wound and since
    fd was invalid, they would fail with EBADFD errors. Due to this
    actual error would've got masked by EBADFD.

Change-Id: I65f88a681ea573a964fae132073696d32701882f
BUG: 2346
Reviewed-on: http://review.gluster.com/49
Tested-by: Gluster Build System &lt;jenkins@build.gluster.com&gt;
Reviewed-by: Anand Avati &lt;avati@gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>write-behind: changes in volume_options to assist</title>
<updated>2011-07-17T14:47:00+00:00</updated>
<author>
<name>Kaushik BV</name>
<email>kaushikbv@gluster.com</email>
</author>
<published>2011-07-15T01:20:15+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=c9b5f595fa6471997a90113bd7f5a708f1bc67a4'/>
<id>c9b5f595fa6471997a90113bd7f5a708f1bc67a4</id>
<content type='text'>
Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041
</pre>
</div>
</content>
</entry>
<entry>
<title>quick-read: changes in volume_options to assist volume set help/help-xml</title>
<updated>2011-07-17T14:46:54+00:00</updated>
<author>
<name>Kaushik BV</name>
<email>kaushikbv@gluster.com</email>
</author>
<published>2011-07-15T01:20:14+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=cb071504b4d20965f844466a444e38b839cf02db'/>
<id>cb071504b4d20965f844466a444e38b839cf02db</id>
<content type='text'>
Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041
</pre>
</div>
</content>
</entry>
<entry>
<title>io-threads: changes in volume_options to assist volume set help/help-xml</title>
<updated>2011-07-17T14:46:48+00:00</updated>
<author>
<name>Kaushik BV</name>
<email>kaushikbv@gluster.com</email>
</author>
<published>2011-07-15T01:20:13+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=3426188d20d0ee624b67198eca9eed9582122de3'/>
<id>3426188d20d0ee624b67198eca9eed9582122de3</id>
<content type='text'>
Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Kaushik BV &lt;kaushikbv@gluster.com&gt;
Signed-off-by: Anand Avati &lt;avati@gluster.com&gt;

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041

BUG: 2041 (volume set help option)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2041
</pre>
</div>
</content>
</entry>
</feed>
