<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/performance/stat-prefetch/src, branch v3.0.5</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>free local-&gt;loc structure by using SP_STACK_UNWIND instead of STACK_UNWIND</title>
<updated>2010-06-14T11:32:14+00:00</updated>
<author>
<name>Raghavendra Bhat</name>
<email>raghavendrabhat@gluster.com</email>
</author>
<published>2010-06-11T05:17:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=7d8c65c74e4a38f78801ae77a90cdb9a60c370c4'/>
<id>7d8c65c74e4a38f78801ae77a90cdb9a60c370c4</id>
<content type='text'>
Signed-off-by: Raghavendra Bhat &lt;raghavendrabhat@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 993 (memory leak-in stat-prefetch)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=993
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Raghavendra Bhat &lt;raghavendrabhat@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 993 (memory leak-in stat-prefetch)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=993
</pre>
</div>
</content>
</entry>
<entry>
<title>stat-prefetch: Remove checks for loc-&gt;parent</title>
<updated>2010-05-26T06:31:41+00:00</updated>
<author>
<name>Shehjar Tikoo</name>
<email>shehjart@gluster.com</email>
</author>
<published>2010-04-22T06:12:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=6928e964dda7a51e85d17e8b91b0b11427107e2e'/>
<id>6928e964dda7a51e85d17e8b91b0b11427107e2e</id>
<content type='text'>
..because loc-&gt;parent can be NULL for the root inode.
Having this check makes sp return EINVAL on perfectly valid
fops.

Signed-off-by: Shehjar Tikoo &lt;shehjart@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 854 (nfs server didn't start)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=854
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
..because loc-&gt;parent can be NULL for the root inode.
Having this check makes sp return EINVAL on perfectly valid
fops.

Signed-off-by: Shehjar Tikoo &lt;shehjart@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 854 (nfs server didn't start)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=854
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: remove the usage of THIS.</title>
<updated>2009-12-06T10:30:24+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-06T04:42:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=4235868f0ded7aeb157aef05f10d2df4a470a2c5'/>
<id>4235868f0ded7aeb157aef05f10d2df4a470a2c5</id>
<content type='text'>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: fix memory leak.</title>
<updated>2009-12-06T10:30:21+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-06T04:39:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=bf23224e5dc2af09efd0888490f7af191052c874'/>
<id>bf23224e5dc2af09efd0888490f7af191052c874</id>
<content type='text'>
- rbt_hash_remove only removes entry from the hash table. It does not free
    the data.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 438 (Memory leak)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=438
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- rbt_hash_remove only removes entry from the hash table. It does not free
    the data.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 438 (Memory leak)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=438
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: don't check whether previous lookups have been failed in sp_process_inode_ctx.</title>
<updated>2009-12-05T12:21:29+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-04T15:16:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=759d2ec189ce632022494baa478cc0d5256697e0'/>
<id>759d2ec189ce632022494baa478cc0d5256697e0</id>
<content type='text'>
We need this patch for following reasons:
   1. The inode used in the successful lookup call may not be the one passed to
      fops operating on path. This may happen, if revalidate of inode is failed,
      but the lookup itself succeeds (in case of reavalidate failures, fuse
      sends a fresh lookup using new inode) and since inode_link, if there is an
      inode already associated with a path retains it.
   2. Only fops that "wait" in stat-prefetch for a lookup which is already in
      progress, need to check for the result of the lookup they are waiting on,
      before resuming and sp_process_inode_ctx is _not_ used in such contexts.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 428 (looks like stat cache not upto date..)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=428
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We need this patch for following reasons:
   1. The inode used in the successful lookup call may not be the one passed to
      fops operating on path. This may happen, if revalidate of inode is failed,
      but the lookup itself succeeds (in case of reavalidate failures, fuse
      sends a fresh lookup using new inode) and since inode_link, if there is an
      inode already associated with a path retains it.
   2. Only fops that "wait" in stat-prefetch for a lookup which is already in
      progress, need to check for the result of the lookup they are waiting on,
      before resuming and sp_process_inode_ctx is _not_ used in such contexts.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 428 (looks like stat cache not upto date..)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=428
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: add "caller" arguement to sp_process_inode_ctx.</title>
<updated>2009-12-04T09:46:38+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-03T21:47:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=349f9b77178aac3d2823bb35b0dc6c40b7a3b876'/>
<id>349f9b77178aac3d2823bb35b0dc6c40b7a3b876</id>
<content type='text'>
- since sp_process_inode_ctx is called by many fops, if the context is not
    set "caller" argument can be logged in log msgs to identify caller.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- since sp_process_inode_ctx is called by many fops, if the context is not
    set "caller" argument can be logged in log msgs to identify caller.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: implement sp_check_and_create_inode_ctx.</title>
<updated>2009-12-04T09:46:34+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-03T21:47:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=45494f35deb30b6e0410351bdea7cf10f8f83c04'/>
<id>45494f35deb30b6e0410351bdea7cf10f8f83c04</id>
<content type='text'>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: refactor sp_lookup_cbk to use sp_update_inode_ctx.</title>
<updated>2009-12-04T09:46:30+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-03T21:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=4db7a358a294e11568ef818e64d5b3f37176609b'/>
<id>4db7a358a294e11568ef818e64d5b3f37176609b</id>
<content type='text'>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: dont check for inode context in fops like create, mkdir.</title>
<updated>2009-12-04T09:46:26+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-03T21:46:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=58535b168ca9d65a5c5018f89882d7c18d8f15fe'/>
<id>58535b168ca9d65a5c5018f89882d7c18d8f15fe</id>
<content type='text'>
- context will not be set as a fresh inode is passed in each of these calls.
    instead create a new context.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- context will not be set as a fresh inode is passed in each of these calls.
    instead create a new context.

Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 221 (stat prefetch implementation)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=221
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: don't access stat if lookup has been failed.</title>
<updated>2009-12-03T10:00:54+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-03T03:16:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=0f73d6c94ce00eae317463fe32de40bb4225c820'/>
<id>0f73d6c94ce00eae317463fe32de40bb4225c820</id>
<content type='text'>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 429 (crash in lookup_cbk when lookup returns with error)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=429
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Raghavendra G &lt;raghavendra@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 429 (crash in lookup_cbk when lookup returns with error)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=429
</pre>
</div>
</content>
</entry>
</feed>
