Userspace utilities to manage btrfs filesystems
Go to file
Chris Mason 97864fa126 Don't allow written blocks from this transaction to be reallocated
When a block is freed, it can be immediately reused if it is from
the current transaction.  But, an extra check is required to make sure
the block had not been written yet.  If it were reused after being written,
the transid in the block header might match the transid of the
next time the block was allocated.

The parent node records the transaction ID of the block it is pointing to,
and this is used as part of validating the block on reads.  So, there
can only be one version of a block per transaction.
2008-04-04 15:40:00 -04:00
.hgtags Added tag v0.13 for changeset 58b803dc9fae 2008-02-21 14:55:23 -05:00
bit-radix.c Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again. 2007-09-14 10:31:06 -04:00
bit-radix.h add GPLv2 2007-06-12 09:07:11 -04:00
btrfsck.c Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00
btrfsctl.c Walk all block devices looking for btrfs 2008-03-24 15:05:44 -04:00
convert.c Add support for multiple devices per filesystem 2008-03-24 15:03:18 -04:00
COPYING fix COPYING 2007-06-12 15:41:08 -04:00
crc32c.c CRC32C big endian bugs... 2008-02-15 11:20:02 -05:00
crc32c.h calculate checksums during IO 2007-06-28 16:20:29 -04:00
ctree.c Recow all roots at the end of mkfs 2008-04-04 15:42:17 -04:00
ctree.h Recow all roots at the end of mkfs 2008-04-04 15:42:17 -04:00
debug-tree.c Add support for multiple devices per filesystem 2008-03-24 15:03:18 -04:00
dir-item.c Unaligned access fixes 2008-02-15 11:19:58 -05:00
dir-test.c Unaligned access fixes 2008-02-15 11:19:58 -05:00
disk-io.c Recow all roots at the end of mkfs 2008-04-04 15:42:17 -04:00
disk-io.h Walk all block devices looking for btrfs 2008-03-24 15:05:44 -04:00
extent_io.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
extent_io.h Rename the extent_map code to extent_io 2008-03-04 11:16:54 -05:00
extent-cache.c Add support for multiple devices per filesystem 2008-03-24 15:03:18 -04:00
extent-cache.h Port extent buffer to btrfs-progs 2008-01-04 10:36:26 -05:00
extent-tree.c Don't allow written blocks from this transaction to be reallocated 2008-04-04 15:40:00 -04:00
file-item.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
hash.c btrfs-progs: Stop stomping on 'name' input parameter 2008-04-01 10:38:51 -04:00
hash.h Unaligned access fixes 2008-02-15 11:19:58 -05:00
hasher.c Unaligned access fixes 2008-02-15 11:19:58 -05:00
inode-item.c Update btrfs-progs to match kernel sources 2008-01-04 10:38:22 -05:00
inode-map.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
INSTALL Documentation update 2007-06-28 16:02:01 -04:00
ioctl.h ioctls to scan for btrfs filesystems 2008-03-24 15:04:49 -04:00
kerncompat.h Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00
list.h Dynamic chunk allocation 2008-03-24 15:03:58 -04:00
Makefile Walk all block devices looking for btrfs 2008-03-24 15:05:44 -04:00
mkfs.c Use leafsize and nodesize == pagesize for now 2008-04-09 19:49:01 -04:00
print-tree.c Btrfsck updates for multi-device filesystems 2008-03-24 15:04:37 -04:00
print-tree.h Update btrfs-progs to match kernel sources 2008-01-04 10:38:22 -05:00
quick-test.c add GPLv2 2007-06-12 09:07:11 -04:00
radix-tree.c Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again. 2007-09-14 10:31:06 -04:00
radix-tree.h i386 fixes from axboe 2007-06-12 11:39:09 -04:00
random-test.c add GPLv2 2007-06-12 09:07:11 -04:00
rbtree.c Stop using radix trees to record pending allocations 2007-10-15 16:25:04 -04:00
rbtree.h Stop using radix trees to record pending allocations 2007-10-15 16:25:04 -04:00
root-tree.c btrfs-progs: Fix printf format casting errors 2008-04-01 10:52:22 -04:00
show-blocks Add debug-tree -e to print all allocated extents, and show-blocks to graph them 2008-03-03 19:55:16 -05:00
transaction.h Update btrfs-progs to match kernel sources 2008-01-04 10:38:22 -05:00
utils.c Recow all roots at the end of mkfs 2008-04-04 15:42:17 -04:00
utils.h check if partition is mounted before mkfs 2008-04-01 10:36:46 -04:00
volumes.c Recow all roots at the end of mkfs 2008-04-04 15:42:17 -04:00
volumes.h Add mirroring support across multiple drives 2008-04-03 16:35:48 -04:00