Chris Mason
9864c90760
Print the version string in a few programs
2008-07-24 12:13:30 -04:00
Chris Mason
f86e8be3f8
Fix uninitialized variables, and use -O so gcc starts checking for them
...
Gcc only sends warnings for uninitialized variables when you compile with -O,
and there were a couple of bugs sprinkled in the code. The biggest was the
alloc_start variable for mkfs, which can cause strange things to happen.
(thanks to Gabor Micsko for helping to find this)
2008-05-01 10:22:47 -04:00
Chris Mason
b327761ead
Add btrfs-vol command to balance, add and (eventually) remove devices
2008-04-28 16:44:22 -04:00
Chris Mason
3ce9579503
Drop quick-test from the list of programs built by default
2008-04-22 14:30:52 -04:00
Chris Mason
358564890a
Add a command to show all of the btrfs filesystems on the box (btrfs-show)
2008-04-22 14:06:31 -04:00
Chris Mason
7e7628ec4e
Fix up the quick btree code test program
2008-04-15 11:32:17 -04:00
Chris Mason
0dcfa3b827
Walk all block devices looking for btrfs
2008-03-24 15:05:44 -04:00
Chris Mason
510be29677
Add support for multiple devices per filesystem
2008-03-24 15:03:18 -04:00
Chris Mason
80791984f6
Rename the extent_map code to extent_io
...
This mirrors the changes in the kernel code.
2008-03-04 11:16:54 -05:00
Jan Engelhardt
fd4bca3dfe
btrfs-progs: build with -D_FORTIFY_SOURCE=2
...
Add -D_FORTIFY_SOURCE=2 to the makeflags. It has been very helpful
in finding problems.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-01-22 11:32:07 -05:00
Chris Mason
281baf6a85
Install btrfs-convert during make install
2008-01-14 14:08:07 -05:00
Chris Mason
806528b875
Add Yan Zheng's ext3->btrfs conversion program
...
run make convert to build it, the program is named btrfs-convert and is
not installed by default.
2008-01-04 11:29:55 -05:00
Yan
7777e63b42
Update btrfs-progs to match kernel sources
2008-01-04 10:38:22 -05:00
Jan Engelhardt
66d0930cf6
Makefile: CFLAGS, LDFLAGS
...
Split CFLAGS into CFLAGS (user part) and AM_CFLAGS (not-so-user part;
variable name taken from automake, but otherwise no relation).
Also add LDFLAGS.
This allows me to use `make CFLAGS="-O2 -fPIE" LDFLAGS="-pie"` without
dropping the other important (AM_CFLAGS) flags.
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
---
btrfs-progs/Makefile | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
2007-12-11 09:22:42 -05:00
Chris Mason
678af9b3a4
Remove the last radix tree (block_group_cache)
2007-10-17 09:58:56 -04:00
Chris Mason
28de03cb0a
Create a slightly more generic extent-caching structure
2007-10-15 16:25:41 -04:00
Chris Mason
38f79f9077
Switch to byte granular allocations
2007-10-15 16:25:14 -04:00
Chris Mason
08c66b7738
Stop using radix trees to record pending allocations
2007-10-15 16:25:04 -04:00
Jan Engelhardt
f6f9229537
Add per-file dependency tracking
...
The dependency archive ".depend" is only created once.
Changing a C file's dependencies does not remake .depend,
so make will recompile either too few or too many things.
Use of per-.c file dependencies that are created and update
during compile solve this.
2007-09-14 10:31:10 -04:00
Josef Bacik
4623a01bdc
calculate checksums during IO
2007-06-28 16:20:29 -04:00
Jeff Mahoney
2b3741c47c
Allow install prefix overrides
2007-06-28 16:03:23 -04:00
Chris Mason
b53a236c3e
remove device tree
2007-06-09 09:22:37 -04:00
Chris Mason
84e9d08a4b
endian fixes, makefile fixes
2007-06-07 22:12:21 -04:00
Chris Mason
832427bdba
cleanup warnings found with -O2
2007-05-22 10:07:10 -04:00
Chris Mason
5856b7e124
start of block group code
2007-04-26 16:46:06 -04:00
Chris Mason
2f2264fc2d
add owner and type fields to the extents aand block headers
2007-04-20 20:23:29 -04:00
Chris Mason
d23ea8706c
early support for multiple devices
2007-04-11 13:57:55 -04:00
Chris Mason
43f6ab83bf
btrfsctl
2007-04-10 09:27:30 -04:00
Chris Mason
d785b7d058
uuids
2007-04-05 14:29:12 -04:00
Chris Mason
1330edb0bc
sync up with kernel sources
2007-04-02 14:18:17 -04:00
Chris Mason
b55672a2a1
Better block record keeping, real mkfs
2007-03-20 20:35:03 -04:00
Chris Mason
099f1ae6e4
Add inode map, and the start of file extent items
2007-03-20 14:38:32 -04:00
Chris Mason
80fd690aa6
add transaction.h to the Makefile
2007-03-20 09:13:49 -04:00
Chris Mason
f247156e4f
transaction handles everywhere
2007-03-16 16:20:31 -04:00
Chris Mason
da085a5803
add inode item
2007-03-15 19:03:33 -04:00
Chris Mason
e89de2d271
directory testing code and dir item fixes
2007-03-15 15:18:43 -04:00
Chris Mason
da99898c78
Use a chunk of the key flags to record the item type.
...
Add (untested and simple) directory item code
Fix comp_keys to use the new key ordering
Add btrfs_insert_empty_item
2007-03-15 12:56:47 -04:00
Chris Mason
d9c9960f8d
Change the super to point to a tree of trees to enable persistent snapshots
2007-03-13 16:47:54 -04:00
Chris Mason
8e17fab249
get/set for struct header fields
2007-03-12 12:01:18 -04:00
Chris Mason
2adfc44778
Fixup last found extent caching
2007-03-07 16:15:30 -05:00
Chris Mason
4c4eac1f03
get rid of add recursion
2007-03-07 11:50:24 -05:00
Chris Mason
79b90e3fdf
Fixup reference counting on cows
2007-03-06 20:08:01 -05:00
Chris Mason
fa070f3071
Fixup the code to merge during path walks
...
Add a bulk insert/remove test to random-test
Add the quick-test code back as another regression test
2007-03-01 15:16:26 -05:00
Chris Mason
92ce8be120
return code checking
2007-02-28 16:35:06 -05:00
Chris Mason
9b4f51240c
Add sparse checking to Makefile
2007-02-28 09:40:58 -05:00
Chris Mason
46db63cb16
u64 cleanups
2007-02-26 10:55:01 -05:00
Chris Mason
8f3b86bae3
Add fsx-style randomized tree tester
...
Add debug-tree command to print the tree
Add extent-tree.c to the repo
Comment ctree.h
2007-02-26 10:40:21 -05:00
Chris Mason
74556aa757
Break up ctree.c a little
...
Extent fixes
2007-02-24 06:24:44 -05:00
Chris Mason
c12e4863d2
early extent mapping support
2007-02-20 16:40:44 -05:00
Chris Mason
215ad20a9b
Add backing store, memory management
2007-02-02 09:18:22 -05:00