<feed xmlns='http://www.w3.org/2005/Atom'>
<title>glusterfs.git/xlators/debug, branch v3.0.4rc5</title>
<subtitle></subtitle>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/'/>
<entry>
<title>io-stats: new counters</title>
<updated>2010-03-04T10:04:16+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2010-03-04T04:00:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=631f413ab484849ca15e094ac97e49c411b8a1a6'/>
<id>631f413ab484849ca15e094ac97e49c411b8a1a6</id>
<content type='text'>
Add new counters and statistics for:

a) total read data - since process start, last interval and per fd
b) total write data - since process start, last interval and per fd
c) counts of read IO block size - since process start, last interval and per fd
d) counts of write IO block size - since process start, last interval and per fd
e) counts of all FOP types passing through it

Usage:

1. For dumping global stats

sh# setfattr -n io-stats-dump /tmp/filename /mnt/gluster

2. For enabling per-fd stats

option dump-fd-stats on

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

BUG: 268 (Add timing instrumentation code)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add new counters and statistics for:

a) total read data - since process start, last interval and per fd
b) total write data - since process start, last interval and per fd
c) counts of read IO block size - since process start, last interval and per fd
d) counts of write IO block size - since process start, last interval and per fd
e) counts of all FOP types passing through it

Usage:

1. For dumping global stats

sh# setfattr -n io-stats-dump /tmp/filename /mnt/gluster

2. For enabling per-fd stats

option dump-fd-stats on

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

BUG: 268 (Add timing instrumentation code)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
</pre>
</div>
</content>
</entry>
<entry>
<title>io-stats: indentation fixes</title>
<updated>2010-03-04T10:04:13+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2010-03-04T03:59:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=f89c82f71f581faaf5ee45b4d08c8fe422fe2fd7'/>
<id>f89c82f71f581faaf5ee45b4d08c8fe422fe2fd7</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@blackhole.gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 268 (Add timing instrumentation code)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@blackhole.gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 268 (Add timing instrumentation code)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=268
</pre>
</div>
</content>
</entry>
<entry>
<title>trace: multiple fixes</title>
<updated>2010-01-26T11:47:10+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2010-01-23T16:52:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=c95e892e454d6fc49f6749150eca028ff8b2b45d'/>
<id>c95e892e454d6fc49f6749150eca028ff8b2b45d</id>
<content type='text'>
       Jeff Darcy &lt;jdarcy@redhat.com&gt;

       Jeff Darcy &lt;jdarcy@redhat.com&gt;

- whitespace and indentation cleanup

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

BUG: 168 (trace does not output debug messages)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=168

BUG: 473 (Trace misreporting pre/post attributes for setattr.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=473

BUG: 519 (Possible SEGV when tracing readlink)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=519

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>
       Jeff Darcy &lt;jdarcy@redhat.com&gt;

       Jeff Darcy &lt;jdarcy@redhat.com&gt;

- whitespace and indentation cleanup

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

BUG: 168 (trace does not output debug messages)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=168

BUG: 473 (Trace misreporting pre/post attributes for setattr.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=473

BUG: 519 (Possible SEGV when tracing readlink)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=519

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>error-gen: change all STACK_UNWIND calls to STACK_UNWIND_STRICT</title>
<updated>2010-01-23T12:47:30+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2010-01-23T07:03:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=502fef89bb352aa8092c3b2e606757c5ef644171'/>
<id>502fef89bb352aa8092c3b2e606757c5ef644171</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@blackhole.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: Anand V. Avati &lt;avati@blackhole.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>error-gen: unwind fsync with proper parameters</title>
<updated>2010-01-23T12:47:26+00:00</updated>
<author>
<name>Anand Avati</name>
<email>avati@gluster.com</email>
</author>
<published>2010-01-23T07:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=6f15b21994e26925a587ab8965ab909abbfbeece'/>
<id>6f15b21994e26925a587ab8965ab909abbfbeece</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@blackhole.gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 553 (server crashed in server_fsync_cbk)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=553
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Anand V. Avati &lt;avati@blackhole.gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 553 (server crashed in server_fsync_cbk)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=553
</pre>
</div>
</content>
</entry>
<entry>
<title>fix leaks pointed out by cppcheck static analyzer</title>
<updated>2009-11-30T11:06:42+00:00</updated>
<author>
<name>Csaba Henk</name>
<email>csaba@gluster.com</email>
</author>
<published>2009-11-29T19:26:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=2a3adcfe5c8d649a17b2d30f3715f26794dff6bb'/>
<id>2a3adcfe5c8d649a17b2d30f3715f26794dff6bb</id>
<content type='text'>
See http://cppcheck.sf.net

[./build/libglusterfs/src/y.tab.c:2104]: (error) Memory leak: cmd
[./libglusterfs/src/md5.c:306]: (error) Resource leak: f
[./xlators/debug/io-stats/src/io-stats.c:1396]: (error) Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 1402
[./xlators/cluster/stripe/src/stripe.c:3597]: (error) Memory leak: dup_str
[./xlators/debug/trace/src/trace.c:2426]: (error) Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 2429

These appear in rarely hit error cases or test/demo code so nothing
serious, in fact.

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

BUG: 420 (fix leaks pointed out by cppcheck static analyzer)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=420
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See http://cppcheck.sf.net

[./build/libglusterfs/src/y.tab.c:2104]: (error) Memory leak: cmd
[./libglusterfs/src/md5.c:306]: (error) Resource leak: f
[./xlators/debug/io-stats/src/io-stats.c:1396]: (error) Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 1402
[./xlators/cluster/stripe/src/stripe.c:3597]: (error) Memory leak: dup_str
[./xlators/debug/trace/src/trace.c:2426]: (error) Possible null pointer dereference: this - otherwise it is redundant to check if this is null at line 2429

These appear in rarely hit error cases or test/demo code so nothing
serious, in fact.

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

BUG: 420 (fix leaks pointed out by cppcheck static analyzer)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=420
</pre>
</div>
</content>
</entry>
<entry>
<title>debug/error-gen: Correct log messages in init function.</title>
<updated>2009-11-19T09:15:32+00:00</updated>
<author>
<name>vinayak hegde</name>
<email>vinayak@gluster.com</email>
</author>
<published>2009-11-19T01:39:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=dd216deb8a9e281ec41867c354efb0067cde4785'/>
<id>dd216deb8a9e281ec41867c354efb0067cde4785</id>
<content type='text'>
Signed-off-by: Vinayak Hegde &lt;vinayak@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 291 (feature enhancement of error-gen translator)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=291
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Vinayak Hegde &lt;vinayak@gluster.com&gt;
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 291 (feature enhancement of error-gen translator)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=291
</pre>
</div>
</content>
</entry>
<entry>
<title>fix a crash in debug/trace</title>
<updated>2009-11-13T10:13:29+00:00</updated>
<author>
<name>Amar Tumballi</name>
<email>amar@gluster.com</email>
</author>
<published>2009-11-12T19:48:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=18d85b59b9e8cc422c06e3ea94694d0cb2d26e1b'/>
<id>18d85b59b9e8cc422c06e3ea94694d0cb2d26e1b</id>
<content type='text'>
stat structure (which is an argument to function) was getting freed
instead of string which actually should have freed.

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

BUG: 378 (trace segfault in trace_create_cbk)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=378
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
stat structure (which is an argument to function) was getting freed
instead of string which actually should have freed.

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

BUG: 378 (trace segfault in trace_create_cbk)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=378
</pre>
</div>
</content>
</entry>
<entry>
<title>debug/trace: Check asprintf return value to avoid warning, while build</title>
<updated>2009-10-09T09:00:37+00:00</updated>
<author>
<name>vinayak hegde</name>
<email>vinayak@gluster.com</email>
</author>
<published>2009-10-09T02:38:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=72fc9328b1959f2f3e8b24048995cb70a090e0a3'/>
<id>72fc9328b1959f2f3e8b24048995cb70a090e0a3</id>
<content type='text'>
Signed-off-by: Anand V. Avati &lt;avati@dev.gluster.com&gt;

BUG: 308 (Warning in debug/trace.c, during build)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=308
</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: 308 (Warning in debug/trace.c, during build)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=308
</pre>
</div>
</content>
</entry>
<entry>
<title>debug/error-gen: Feature enhancement of error-gen translator</title>
<updated>2009-10-09T05:59:48+00:00</updated>
<author>
<name>vinayak hegde</name>
<email>vinayak@gluster.com</email>
</author>
<published>2009-10-08T23:35:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.gluster.org/cgit/glusterfs.git/commit/?id=3949b2828a78e4ecb95edb06f09fb9e7e3e5ce9b'/>
<id>3949b2828a78e4ecb95edb06f09fb9e7e3e5ce9b</id>
<content type='text'>
In debug/error-gen translator 3-options are provided.
failure - specifies the percentage failure in fops.
error-no - specifies which error-no to be returned.
enable - specifies which are the fops to be enabled for this translator.

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

BUG: 291 (feature enhancement of error-gen translator)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=291
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In debug/error-gen translator 3-options are provided.
failure - specifies the percentage failure in fops.
error-no - specifies which error-no to be returned.
enable - specifies which are the fops to be enabled for this translator.

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

BUG: 291 (feature enhancement of error-gen translator)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=291
</pre>
</div>
</content>
</entry>
</feed>
