<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/performance/io-cache/src/ioc-inode.c, branch v3.0.7qa2</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>fixes to compile on MacOSX (no fuse client)</title>
<updated>2009-12-02T03:48:41+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-12-01T20:28:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=67d6a0a6195a72bce251891fccbd38929d5586dc'/>
<id>67d6a0a6195a72bce251891fccbd38929d5586dc</id>
<content type='text'>
These changes are required to make GlusterFS compile on MacOSX (10.5).

Currently glusterfs server component alone will work over Mac, and it has
to be built with following options to ./configure.

 "bash$ ./configure --disable-fuse-client --disable-fusermount "

Signed-off-by: Amar Tumballi &lt;amar@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 361 (GlusterFS 3.0 should work on Mac OS/X)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These changes are required to make GlusterFS compile on MacOSX (10.5).

Currently glusterfs server component alone will work over Mac, and it has
to be built with following options to ./configure.

 "bash$ ./configure --disable-fuse-client --disable-fusermount "

Signed-off-by: Amar Tumballi &lt;amar@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 361 (GlusterFS 3.0 should work on Mac OS/X)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed rbthash_table_init() to take a mem-pool argument.</title>
<updated>2009-11-26T12:32:25+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vijay@gluster.com</email>
</author>
<published>2009-11-26T06:37:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=63f963700f0c89292092047ec2423e8d8ab1f955'/>
<id>63f963700f0c89292092047ec2423e8d8ab1f955</id>
<content type='text'>
Changes in libglusterfs/rbthash:

rbthash_table_init() now takes a mem-pool argument.
The mem-pool argument would be mutually exclusive to expected_entries.
If expected_entries is provided, mem-pool would be ignored and vice-versa.

Changes in io-cache:
1) Moved rbthash creation to readv.
2) rbthash makes use of 1 rbt instead of 4096
3) A global mem-pool is being used in place of a mem-pool per rbt.

Signed-off-by: Vijay Bellur &lt;vijay@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Changes in libglusterfs/rbthash:

rbthash_table_init() now takes a mem-pool argument.
The mem-pool argument would be mutually exclusive to expected_entries.
If expected_entries is provided, mem-pool would be ignored and vice-versa.

Changes in io-cache:
1) Moved rbthash creation to readv.
2) rbthash makes use of 1 rbt instead of 4096
3) A global mem-pool is being used in place of a mem-pool per rbt.

Signed-off-by: Vijay Bellur &lt;vijay@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/io-cache: change the hash function used for rbtree based hash table.</title>
<updated>2009-10-29T17:07:49+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-10-28T04:46:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=14962ce3e69e452a2447c12cde3369759365fda9'/>
<id>14962ce3e69e452a2447c12cde3369759365fda9</id>
<content type='text'>
- the earlier hash function does not distribute pages uniformly for offsets that
    fit into 32 bits. The reason is that the hash function just xors the contents of
    the key 4 bytes at a time with the current value of hash. Hence for keys that
    fit into 32 bits, the hash will be the key itself. Since we are using the
    rounded_offset (which is a multiple of 128KB) as the key, the key will
    be exactly divisible by the number of buckets configured (4096) resolving all
    the pages into the first bucket.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- the earlier hash function does not distribute pages uniformly for offsets that
    fit into 32 bits. The reason is that the hash function just xors the contents of
    the key 4 bytes at a time with the current value of hash. Hence for keys that
    fit into 32 bits, the hash will be the key itself. Since we are using the
    rounded_offset (which is a multiple of 128KB) as the key, the key will
    be exactly divisible by the number of buckets configured (4096) resolving all
    the pages into the first bucket.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</pre>
</div>
</content>
</entry>
<entry>
<title>libglusterfs/rbtree: change rbthash_init_table to take no of expected entries in the hash table as argument.</title>
<updated>2009-10-29T06:00:39+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-10-28T18:42:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=53ff4f0299cf14c6c413d3e49991a6f05f9cda19'/>
<id>53ff4f0299cf14c6c413d3e49991a6f05f9cda19</id>
<content type='text'>
- the expected number of entries is used to create the memory pool of the hash
    table. Having constant macro for this purpose is not suitable since different
    users of rbtree based hash table store different number of entries in the
    table.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- the expected number of entries is used to create the memory pool of the hash
    table. Having constant macro for this purpose is not suitable since different
    users of rbtree based hash table store different number of entries in the
    table.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/io-cache: fix memory leak.</title>
<updated>2009-10-29T06:00:35+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-10-28T16:15:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=07e8d8a37713d39f63713d8c05dd99a0610a3c35'/>
<id>07e8d8a37713d39f63713d8c05dd99a0610a3c35</id>
<content type='text'>
- page table of cache was not being destroyed in ioc_forget.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- page table of cache was not being destroyed in ioc_forget.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/io-cache: fix double free.</title>
<updated>2009-10-29T06:00:32+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-10-28T16:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=11dd6bcb416c2e937ced2b2bbd35fe10b21f283f'/>
<id>11dd6bcb416c2e937ced2b2bbd35fe10b21f283f</id>
<content type='text'>
- the destroyer function passed to rbthash_table_init is used to free the data.
    The data being inserted is page and it is destroyed in ioc_page_destroy. Hence
    no destroyer function needs to be passed to rbthash_table_init.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- the destroyer function passed to rbthash_table_init is used to free the data.
    The data being inserted is page and it is destroyed in ioc_page_destroy. Hence
    no destroyer function needs to be passed to rbthash_table_init.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/io-cache: change data structure used to store page-cache.</title>
<updated>2009-10-28T08:46:27+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-10-26T03:01:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=3809bb1bbd617dbde1d943dbcf6b0346329187b6'/>
<id>3809bb1bbd617dbde1d943dbcf6b0346329187b6</id>
<content type='text'>
- io-cache uses rbtree based hash tables to store page-cache instead of lists.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- io-cache uses rbtree based hash tables to store page-cache instead of lists.

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

BUG: 335 (Io-cache optimization)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=335
</pre>
</div>
</content>
</entry>
<entry>
<title>Changed occurrences of Z Research to Gluster.</title>
<updated>2009-10-07T10:54:49+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vijay@gluster.com</email>
</author>
<published>2009-10-05T23:59:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=0b1197defa255ee533e568c9534bc6a5b5aadc29'/>
<id>0b1197defa255ee533e568c9534bc6a5b5aadc29</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>fix build warnings in 'io-cache'</title>
<updated>2009-07-20T21:29:04+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-07-17T22:42:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=05211cdaff7ac117095c2213722b386c0f172ed0'/>
<id>05211cdaff7ac117095c2213722b386c0f172ed0</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 130 (build warnings)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=130
</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;

BUG: 130 (build warnings)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=130
</pre>
</div>
</content>
</entry>
<entry>
<title>io-cache: handle memory allocation failures</title>
<updated>2009-06-11T15:01:14+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@zresearch.com</email>
</author>
<published>2009-06-11T01:46:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=1125e8cbc072753fab78ba735bed3f29db61fcc4'/>
<id>1125e8cbc072753fab78ba735bed3f29db61fcc4</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>
</feed>
