<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators, branch v2.0.9</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>performance/stat-prefetch: fix memory leak.</title>
<updated>2009-12-06T17:28:56+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-06T04:46:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=7e1ba386dd51aebe3fb05b5d7b3d9ff42e3fb77a'/>
<id>7e1ba386dd51aebe3fb05b5d7b3d9ff42e3fb77a</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>fuse-bridge: fix memory leak during error handling.</title>
<updated>2009-12-06T17:28:45+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-04T20:02:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=9f37cca2ced2628f480fbdcf2071ca4b16b3549e'/>
<id>9f37cca2ced2628f480fbdcf2071ca4b16b3549e</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: 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>
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-06T17:28:41+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-04T15:29:51+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=84f474a00f68c4ac685fca970b1fe814a8c6e032'/>
<id>84f474a00f68c4ac685fca970b1fe814a8c6e032</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 on 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 on 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-06T17:28:38+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-04T11:33:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=42c6d322bbb9ffa24e1f5ed8a909ee1258cfe0df'/>
<id>42c6d322bbb9ffa24e1f5ed8a909ee1258cfe0df</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: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</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: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: refactor sp_lookup_cbk to use sp_update_inode_ctx.</title>
<updated>2009-12-06T17:28:34+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-04T11:33:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=61823259dcbcbd41e62cbb70a996b7f19c0b8de9'/>
<id>61823259dcbcbd41e62cbb70a996b7f19c0b8de9</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: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</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: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: dont check for inode context in fops like create, mkdir.</title>
<updated>2009-12-06T17:28:31+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-04T11:32:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=58768ac88263ad73d593a319f50c2089719f76bd'/>
<id>58768ac88263ad73d593a319f50c2089719f76bd</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: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</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: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</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-02T19:00:07+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-02T12:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=496ff502e2b00b37051c1319885ff495475196fc'/>
<id>496ff502e2b00b37051c1319885ff495475196fc</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>Add support in rbthash to make use of user provided mempool.</title>
<updated>2009-12-02T19:00:03+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vijay@gluster.com</email>
</author>
<published>2009-12-02T06:08:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=85b587f07c754bd2399fb227c6ea79509502d38c'/>
<id>85b587f07c754bd2399fb227c6ea79509502d38c</id>
<content type='text'>
Signed-off-by: Vijay Bellur &lt;vijay@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: Vijay Bellur &lt;vijay@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: make lookup to wait for the completion of another lookup on same path if one is in progress.</title>
<updated>2009-12-02T19:00:00+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-02T01:53:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=3f8320c34ad07ec93956ac0211fb2ef658893747'/>
<id>3f8320c34ad07ec93956ac0211fb2ef658893747</id>
<content type='text'>
- If current lookup (2) does not wait for completion of the lookup (1) which
    is in progress, there can be a race condition where (2) completes ahead of
    (1) and resuming all the waiting operations in the queue. When (1) returns,
    the original operation (eg., stat, chmod etc) might've already unwound and
    hence the frame would've been destroyed.

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

BUG: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- If current lookup (2) does not wait for completion of the lookup (1) which
    is in progress, there can be a race condition where (2) completes ahead of
    (1) and resuming all the waiting operations in the queue. When (1) returns,
    the original operation (eg., stat, chmod etc) might've already unwound and
    hence the frame would've been destroyed.

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

BUG: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/stat-prefetch: fix errors in handling memory allocation failures in sp_inode_ctx_process.</title>
<updated>2009-12-02T18:59:56+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-12-02T01:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=b37c742f579191a96737c519f6de1ff54a3076d7'/>
<id>b37c742f579191a96737c519f6de1ff54a3076d7</id>
<content type='text'>
- the variables that are used for making decisions are assigned before
    memory allocations and these variables were not reset to
    correct values in case of memory allocation failures.

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

BUG: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- the variables that are used for making decisions are assigned before
    memory allocations and these variables were not reset to
    correct values in case of memory allocation failures.

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

BUG: 257 (Backport stat-prefetch to 2.0)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=257
</pre>
</div>
</content>
</entry>
</feed>
