<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/performance/io-cache/src, branch v3.0.1rc3</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>Added null checks in "fini"</title>
<updated>2009-12-18T16:41:29+00:00</updated>
<author>
<name>Harshavardhana Ranganath</name>
<email>harsha@gluster.com</email>
</author>
<published>2009-12-17T15:41:21+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=ff5170faa131b201bf8170601dbeae18b400542f'/>
<id>ff5170faa131b201bf8170601dbeae18b400542f</id>
<content type='text'>
Signed-off-by: Harshavardhana &lt;harsha@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 364 (Segfault in io-cache)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=364
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Harshavardhana &lt;harsha@gluster.com&gt;
Signed-off-by: Vijay Bellur &lt;vijay@dev.gluster.com&gt;

BUG: 364 (Segfault in io-cache)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=364
</pre>
</div>
</content>
</entry>
<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://dev.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>performance/io-cache: Hold locks on inode before creating rbt tree.</title>
<updated>2009-12-02T01:52:47+00:00</updated>
<author>
<name>Vijay Bellur</name>
<email>vijay@gluster.com</email>
</author>
<published>2009-12-01T12:03:08+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=933e87700e25e83bcd5e9ba4c4f580d48fcaccee'/>
<id>933e87700e25e83bcd5e9ba4c4f580d48fcaccee</id>
<content type='text'>
Lock is held before creating a RBT in inode. Also, did some re-factoring.

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>
Lock is held before creating a RBT in inode. Also, did some re-factoring.

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>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://dev.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: use STACK_UNWIND_STRICT for unwinding.</title>
<updated>2009-11-24T12:36:54+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-11-23T18:57:13+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=8b8205c2be7ea70b9eaab8da3cec5ec7e830c516'/>
<id>8b8205c2be7ea70b9eaab8da3cec5ec7e830c516</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: 269 (Add a specialized STACK_UNWIND macro for each FOP)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269
</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: 269 (Add a specialized STACK_UNWIND macro for each FOP)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=269
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/io-cache: don't use stat got in read_cbk if it is zero-filled.</title>
<updated>2009-11-20T13:02:43+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-11-19T17:28:00+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=96ac4559414035288fa18e72a21628ea3cdf6a4c'/>
<id>96ac4559414035288fa18e72a21628ea3cdf6a4c</id>
<content type='text'>
- translators like io-cache, read-ahead return a zero-filled stbuf in
    readv_cbk and usage of zero filled stat for cache validation is not
    correct.

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

BUG: 376 (server-side io-cache is preventing client-side io-cache from working)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=376
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- translators like io-cache, read-ahead return a zero-filled stbuf in
    readv_cbk and usage of zero filled stat for cache validation is not
    correct.

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

BUG: 376 (server-side io-cache is preventing client-side io-cache from working)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=376
</pre>
</div>
</content>
</entry>
<entry>
<title>performance/io-cache: change the data-types to be big enough to hold size of data flushed.</title>
<updated>2009-10-30T08:49:53+00:00</updated>
<author>
<name>Raghavendra G</name>
<email>raghavendra@gluster.com</email>
</author>
<published>2009-10-30T00:10:20+00:00</published>
<link rel='alternate' type='text/html' href='http://dev.gluster.org/cgit/glusterfs.git/commit/?id=8345b6448d292a8da4464debb4dc65b55f1f6eeb'/>
<id>8345b6448d292a8da4464debb4dc65b55f1f6eeb</id>
<content type='text'>
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>
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://dev.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://dev.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://dev.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>
</feed>
