<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/btrfs/transaction.c, branch linux-3.4.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.4.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2012-04-18T17:22:14Z</updated>
<entry>
<title>btrfs: add missing unlocks to transaction abort paths</title>
<updated>2012-04-18T17:22:14Z</updated>
<author>
<name>David Sterba</name>
</author>
<published>2012-04-02T16:31:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=871383be592ba7e819d27556591e315a0df38cee'/>
<id>urn:sha1:871383be592ba7e819d27556591e315a0df38cee</id>
<content type='text'>
Added in commit 49b25e0540904be0bf558b84475c69d72e4de66e
("btrfs: enhance transaction abort infrastructure")

Reported-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: David Sterba &lt;dsterba@suse.cz&gt;
</content>
</entry>
<entry>
<title>Btrfs: fix use-after-free in __btrfs_end_transaction</title>
<updated>2012-04-12T20:03:56Z</updated>
<author>
<name>Dave Jones</name>
</author>
<published>2012-04-12T20:03:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4edc2ca388d62abffe38149f6ac00e749ea721c5'/>
<id>urn:sha1:4edc2ca388d62abffe38149f6ac00e749ea721c5</id>
<content type='text'>
49b25e0540904be0bf558b84475c69d72e4de66e introduced a use-after-free bug
that caused spurious -EIO's to be returned.

Do the check before we free the transaction.

Cc: David Sterba &lt;dsterba@suse.cz&gt;
Cc: Jeff Mahoney &lt;jeffm@suse.com&gt;
Signed-off-by: Dave Jones &lt;davej@redhat.com&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: show useful info in space reservation tracepoint</title>
<updated>2012-03-29T13:57:44Z</updated>
<author>
<name>Liu Bo</name>
</author>
<published>2012-03-29T13:57:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2bcc0328c3a043880796a602c75fbeb1537aa1e1'/>
<id>urn:sha1:2bcc0328c3a043880796a602c75fbeb1537aa1e1</id>
<content type='text'>
o For space info, the type of space info is useful for debug.
o For transaction handle, its transid is useful.

Signed-off-by: Liu Bo &lt;liubo2009@cn.fujitsu.com&gt;
Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>btrfs: replace many BUG_ONs with proper error handling</title>
<updated>2012-03-22T10:52:54Z</updated>
<author>
<name>Jeff Mahoney</name>
</author>
<published>2012-03-12T15:03:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=79787eaab46121d4713ed03c8fc63b9ec3eaec76'/>
<id>urn:sha1:79787eaab46121d4713ed03c8fc63b9ec3eaec76</id>
<content type='text'>
 btrfs currently handles most errors with BUG_ON. This patch is a work-in-
 progress but aims to handle most errors other than internal logic
 errors and ENOMEM more gracefully.

 This iteration prevents most crashes but can run into lockups with
 the page lock on occasion when the timing "works out."

Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: enhance transaction abort infrastructure</title>
<updated>2012-03-22T00:45:40Z</updated>
<author>
<name>Jeff Mahoney</name>
</author>
<published>2012-03-01T16:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49b25e0540904be0bf558b84475c69d72e4de66e'/>
<id>urn:sha1:49b25e0540904be0bf558b84475c69d72e4de66e</id>
<content type='text'>
Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: btrfs_drop_snapshot should return int</title>
<updated>2012-03-22T00:45:36Z</updated>
<author>
<name>Jeff Mahoney</name>
</author>
<published>2011-10-04T03:22:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2c536799f1bde905bbacf7af3aa6be3f4de66005'/>
<id>urn:sha1:2c536799f1bde905bbacf7af3aa6be3f4de66005</id>
<content type='text'>
Commit cb1b69f4 (Btrfs: forced readonly when btrfs_drop_snapshot() fails)
made btrfs_drop_snapshot return void because there were no callers checking
the return value. That is the wrong order to handle error propogation since
the caller will have no idea that an error has occured and continue on
as if nothing went wrong.

Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
</content>
</entry>
<entry>
<title>btrfs: return void in functions without error conditions</title>
<updated>2012-03-22T00:45:34Z</updated>
<author>
<name>Jeff Mahoney</name>
</author>
<published>2012-03-01T13:56:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=143bede527b054a271053f41bfaca2b57baa9408'/>
<id>urn:sha1:143bede527b054a271053f41bfaca2b57baa9408</id>
<content type='text'>
Signed-off-by: Jeff Mahoney &lt;jeffm@suse.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: fix compiler warnings on 32 bit systems</title>
<updated>2012-02-24T15:39:05Z</updated>
<author>
<name>Chris Mason</name>
</author>
<published>2012-02-24T15:39:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e77266e4c4be6f9dc91bf688bce015a8babd5fe0'/>
<id>urn:sha1:e77266e4c4be6f9dc91bf688bce015a8babd5fe0</id>
<content type='text'>
The enospc tracing code added some interesting uses of
u64 pointer casts.

Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: improve error handling for btrfs_insert_dir_item callers</title>
<updated>2012-02-23T15:43:45Z</updated>
<author>
<name>Chris Mason</name>
</author>
<published>2012-02-20T13:40:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe66a05a06795bd3b788404d69ea7709f46a1609'/>
<id>urn:sha1:fe66a05a06795bd3b788404d69ea7709f46a1609</id>
<content type='text'>
This allows us to gracefully continue if we aren't able to insert
directory items, both for normal files/dirs and snapshots.

Signed-off-by: Chris Mason &lt;chris.mason@oracle.com&gt;
</content>
</entry>
<entry>
<title>Btrfs: space leak tracepoints</title>
<updated>2012-01-16T20:29:43Z</updated>
<author>
<name>Josef Bacik</name>
</author>
<published>2012-01-10T15:31:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8c2a3ca20f6233677ac3222c6506174010eb414f'/>
<id>urn:sha1:8c2a3ca20f6233677ac3222c6506174010eb414f</id>
<content type='text'>
This in addition to a script in my btrfs-tracing tree will help track down space
leaks when we're getting space left over in block groups on umount.  Thanks,

Signed-off-by: Josef Bacik &lt;josef@redhat.com&gt;
</content>
</entry>
</feed>
