<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/performance/io-cache/src, branch v2.0.4</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>removed unused option 'page-size' in io-cache</title>
<updated>2009-06-09T16:33:55+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-05-29T16:08:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=5219af500d6c4c39b95b09329de9426f97156d65'/>
<id>5219af500d6c4c39b95b09329de9426f97156d65</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>io-cache: prevent frames from getting woken up while page is getting validated</title>
<updated>2009-06-03T10:37:50+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2009-05-29T13:52:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=458783bc7a21cd52dd4d3af7fe3059c76b6c0d3d'/>
<id>458783bc7a21cd52dd4d3af7fe3059c76b6c0d3d</id>
<content type='text'>
1. A page will be put on the inode waitq if the 'freshness' has to be verified with an fstat()

2. while the fstat is in transit, other calls (like lookup) can update ioc_inode-&gt;tv, resetting the freshness (page still on inode waitq)

3. Another read request on the same page, after the updated freshness, will wake up the page frames neglecting the fact that the page is also waiting on the inode (waiting for the fstat completion)

4. once the page's frames are woken, the page becomes elegible for purging and can get destroyed for various reasons, leaving a destroyed page pointer in the inode's waitq

5. fstat returns and hits the destroyed page pointer causing a crash

The fix is to all together disable cache hits when any page of the same inode is under validation. The otherwise cache hit will now be subjected to the ongoing validation by getting queued to the inode waitq.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. A page will be put on the inode waitq if the 'freshness' has to be verified with an fstat()

2. while the fstat is in transit, other calls (like lookup) can update ioc_inode-&gt;tv, resetting the freshness (page still on inode waitq)

3. Another read request on the same page, after the updated freshness, will wake up the page frames neglecting the fact that the page is also waiting on the inode (waiting for the fstat completion)

4. once the page's frames are woken, the page becomes elegible for purging and can get destroyed for various reasons, leaving a destroyed page pointer in the inode's waitq

5. fstat returns and hits the destroyed page pointer causing a crash

The fix is to all together disable cache hits when any page of the same inode is under validation. The otherwise cache hit will now be subjected to the ongoing validation by getting queued to the inode waitq.

Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>io-cache logging level fixes</title>
<updated>2009-05-05T14:40:38+00:00</updated>
<author>
<name>Anand V. Avati</name>
<email>avati@amp.gluster.com</email>
</author>
<published>2009-05-05T13:49:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=f62628af61f5ef72c6af2b807c1bba71f291a366'/>
<id>f62628af61f5ef72c6af2b807c1bba71f291a366</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>io-cache: indentation and logging fixes</title>
<updated>2009-05-05T06:36:58+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@zresearch.com</email>
</author>
<published>2009-05-04T17:33:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=80c30634da16f7b333d07eeff9839b70d577e39f'/>
<id>80c30634da16f7b333d07eeff9839b70d577e39f</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iobuf - account with iobref_size() instead of iov_length (vector)</title>
<updated>2009-04-17T18:05:43+00:00</updated>
<author>
<name>Anand V. Avati</name>
<email>avati@amp.gluster.com</email>
</author>
<published>2009-04-17T18:05:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=50b2291e3b046ea6b8fdfcb7e206c772eae64f0e'/>
<id>50b2291e3b046ea6b8fdfcb7e206c772eae64f0e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use ctx-&gt;page_size in all translators and transports instead of having their own configurations</title>
<updated>2009-04-13T14:40:49+00:00</updated>
<author>
<name>Anand V. Avati</name>
<email>avati@amp.gluster.com</email>
</author>
<published>2009-04-13T13:12:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=8e0d48cbb23cf056277ebc609d47b5184b95fa87'/>
<id>8e0d48cbb23cf056277ebc609d47b5184b95fa87</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>updated performance/io-cache with new readv writev prototypes</title>
<updated>2009-04-12T06:03:48+00:00</updated>
<author>
<name>Anand V. Avati</name>
<email>avati@amp.gluster.com</email>
</author>
<published>2009-04-11T16:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=d720afb836ecd22c13859356261e85334422f119'/>
<id>d720afb836ecd22c13859356261e85334422f119</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>fixed deadlock in io-cache</title>
<updated>2009-03-06T20:33:22+00:00</updated>
<author>
<name>Vikas Gorur</name>
<email>vikas@zresearch.com</email>
</author>
<published>2009-03-05T11:35:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=d092dff9a6e23d5fdef64154b6f3d6211f7482a6'/>
<id>d092dff9a6e23d5fdef64154b6f3d6211f7482a6</id>
<content type='text'>
ioc_create_cbk was holding inode-&gt;lock and calling inode_ctx_put,
which also holds the same lock.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ioc_create_cbk was holding inode-&gt;lock and calling inode_ctx_put,
which also holds the same lock.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>code changes in the usage of inode_ctx_get and inode_ctx_put after their implementation is changed to hold inode-&gt;lock.</title>
<updated>2009-03-04T19:34:34+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@zresearch.com</email>
</author>
<published>2009-03-04T12:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=762b1f9aefe07971178e584e288833bf142f402b'/>
<id>762b1f9aefe07971178e584e288833bf142f402b</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>updated copyright header to extend copyright upto 2009</title>
<updated>2009-02-26T16:48:46+00:00</updated>
<author>
<name>Basavanagowda Kanur</name>
<email>gowda@gluster.com</email>
</author>
<published>2009-02-26T15:44:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=3d8bc3cbafa84a46e43e46f69d3e7d617d746012'/>
<id>3d8bc3cbafa84a46e43e46f69d3e7d617d746012</id>
<content type='text'>
updated copyright header to include 2009.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
updated copyright header to include 2009.

Signed-off-by: Anand V. Avati &lt;avati@amp.gluster.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
