<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/performance/stat-prefetch/src, branch v3.0.2</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<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>
<entry>
<title>performance/stat-prefetch: get inode context from local-&gt;loc.inode instead of inode passed as arguement in sp_lookup_cbk.</title>
<updated>2009-12-02T18:29:30+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-02T12:29:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=14c5492a2c03728f18a20125b785f43f441dbfd5'/>
<id>14c5492a2c03728f18a20125b785f43f441dbfd5</id>
<content type='text'>
- @inode in sp_lookup_cbk may be NULL in case of failure of lookup.

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

BUG: 426 (stat on mount point hangs.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=426
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- @inode in sp_lookup_cbk may be NULL in case of failure of lookup.

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

BUG: 426 (stat on mount point hangs.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=426
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: fix access to inode table.</title>
<updated>2009-12-02T09:36:43+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-02T01:00:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=90328b827768552a05bb12abf62d09c9566309d1'/>
<id>90328b827768552a05bb12abf62d09c9566309d1</id>
<content type='text'>
- Access the inode table from one of fd-&gt;inode-&gt;table, inode-&gt;table or
    parent-&gt;table instead of from root xlators itable.

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

BUG: 369 (Samba does not work with booster.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Access the inode table from one of fd-&gt;inode-&gt;table, inode-&gt;table or
    parent-&gt;table instead of from root xlators itable.

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

BUG: 369 (Samba does not work with booster.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=369
</pre>
</div>
</content>
</entry>
</feed>
