platform/upstream/btrfs-progs.git
17 years agoMake btrfs-progs compile with -fstrict-aliasing (included in -O2) again.
Jan Engelhardt [Fri, 14 Sep 2007 14:31:06 +0000 (10:31 -0400)]
Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again.

This is done by doing a two-step conversion (rather than a one-step).
First, the variable goes from type * to void *, and then to
implicitly to void **.
(Not sure if this is "good practice", but it shuts up the compiler,
so it seems the compiler takes into account that we are actually punning
it this way.)

17 years agoextra stats for btrfsck, link count in print-tree.c
Chris Mason [Fri, 14 Sep 2007 13:19:19 +0000 (09:19 -0400)]
extra stats for btrfsck, link count in print-tree.c

17 years agoAdded tag v0.8 for changeset f4810b8d5822
Chris Mason [Tue, 11 Sep 2007 23:48:37 +0000 (19:48 -0400)]
Added tag v0.8 for changeset f4810b8d5822

17 years agobtrfs-progs support for root block accounting
Josef Bacik [Wed, 29 Aug 2007 19:56:44 +0000 (15:56 -0400)]
btrfs-progs support for root block accounting

This adds support for keeping track of the number of blocks used by
root_item's.  This makes it so that mkfs lays down the "default" subvol with
the correct block accounting in place.  Thank you,

17 years agoAdded tag v0.6 for changeset 75b9a16fff1a
Chris Mason [Tue, 7 Aug 2007 20:35:34 +0000 (16:35 -0400)]
Added tag v0.6 for changeset 75b9a16fff1a

17 years agoadd defrag ioctl
Chris Mason [Tue, 7 Aug 2007 20:15:59 +0000 (16:15 -0400)]
add defrag ioctl

17 years agoAdded tag v0.5 for changeset 85bf73175772
Chris Mason [Thu, 28 Jun 2007 20:36:48 +0000 (16:36 -0400)]
Added tag v0.5 for changeset 85bf73175772

17 years agocalculate checksums during IO
Josef Bacik [Thu, 28 Jun 2007 20:20:29 +0000 (16:20 -0400)]
calculate checksums during IO

17 years agoAllow install prefix overrides
Jeff Mahoney [Thu, 28 Jun 2007 20:03:23 +0000 (16:03 -0400)]
Allow install prefix overrides

17 years agoDocumentation update
Chris Mason [Thu, 28 Jun 2007 20:02:01 +0000 (16:02 -0400)]
Documentation update

17 years agoAdded tag v0.4 for changeset c969452d5ae7
Chris Mason [Fri, 22 Jun 2007 18:50:47 +0000 (14:50 -0400)]
Added tag v0.4 for changeset c969452d5ae7

17 years agoAdded tag v0.4 for changeset c760f17dde33
Chris Mason [Fri, 22 Jun 2007 18:38:03 +0000 (14:38 -0400)]
Added tag v0.4 for changeset c760f17dde33

17 years agodisk format updates for finding dead roots
Chris Mason [Fri, 22 Jun 2007 18:37:48 +0000 (14:37 -0400)]
disk format updates for finding dead roots

17 years agoAdded tag v0.3 for changeset 1ef7cf63ac2c
Chris Mason [Mon, 18 Jun 2007 14:34:21 +0000 (10:34 -0400)]
Added tag v0.3 for changeset 1ef7cf63ac2c

17 years agoFix btrfsck build failure on FC7
Terje Rosten [Mon, 18 Jun 2007 12:45:50 +0000 (08:45 -0400)]
Fix btrfsck build failure on FC7

17 years agoAdded tag v0.2 for changeset 9cebac62e0c9
Chris Mason [Wed, 13 Jun 2007 15:53:39 +0000 (11:53 -0400)]
Added tag v0.2 for changeset 9cebac62e0c9

17 years agofix COPYING
Chris Mason [Tue, 12 Jun 2007 19:41:08 +0000 (15:41 -0400)]
fix COPYING

17 years agoi386 fixes from axboe
Chris Mason [Tue, 12 Jun 2007 15:39:09 +0000 (11:39 -0400)]
i386 fixes from axboe

17 years agoadd GPLv2
Chris Mason [Tue, 12 Jun 2007 13:07:11 +0000 (09:07 -0400)]
add GPLv2

17 years agono slashes in subvolume names
Chris Mason [Tue, 12 Jun 2007 12:21:28 +0000 (08:21 -0400)]
no slashes in subvolume names

17 years agoprintf cleanups
Chris Mason [Tue, 12 Jun 2007 12:08:04 +0000 (08:08 -0400)]
printf cleanups

17 years agoremove device tree
Chris Mason [Sat, 9 Jun 2007 13:22:37 +0000 (09:22 -0400)]
remove device tree

17 years ago32 bit compile fixes
Chris Mason [Fri, 8 Jun 2007 12:44:41 +0000 (08:44 -0400)]
32 bit compile fixes

17 years agoendian fixes, makefile fixes
Chris Mason [Fri, 8 Jun 2007 02:12:21 +0000 (22:12 -0400)]
endian fixes, makefile fixes

17 years agodata vs metadata flag for block groups
Chris Mason [Wed, 30 May 2007 14:21:32 +0000 (10:21 -0400)]
data vs metadata flag for block groups

17 years agocleanup warnings found with -O2
Chris Mason [Tue, 22 May 2007 14:07:10 +0000 (10:07 -0400)]
cleanup warnings found with -O2

17 years agoreduce ram used by btrfsck
Chris Mason [Tue, 22 May 2007 13:17:08 +0000 (09:17 -0400)]
reduce ram used by btrfsck

17 years agobtrfsck fixes and cleanups
Chris Mason [Fri, 18 May 2007 17:26:07 +0000 (13:26 -0400)]
btrfsck fixes and cleanups

17 years agomore stats from fsck
Chris Mason [Thu, 10 May 2007 00:13:48 +0000 (20:13 -0400)]
more stats from fsck

17 years agocompile fix
Chris Mason [Tue, 8 May 2007 00:04:45 +0000 (20:04 -0400)]
compile fix

17 years agoallocator improvements, inode block groups
Chris Mason [Mon, 30 Apr 2007 19:25:49 +0000 (15:25 -0400)]
allocator improvements, inode block groups

17 years agostart of block group code
Chris Mason [Thu, 26 Apr 2007 20:46:06 +0000 (16:46 -0400)]
start of block group code

17 years agouse node list for roots
Chris Mason [Wed, 25 Apr 2007 14:08:15 +0000 (10:08 -0400)]
use node list for roots

17 years agoadd bit-radix.h to the repo
Chris Mason [Tue, 24 Apr 2007 16:45:36 +0000 (12:45 -0400)]
add bit-radix.h to the repo

17 years agosubvolume and snapshot fsck support
Chris Mason [Tue, 24 Apr 2007 16:44:05 +0000 (12:44 -0400)]
subvolume and snapshot fsck support

17 years agoget rid of the extent_item type field
Chris Mason [Tue, 24 Apr 2007 16:09:01 +0000 (12:09 -0400)]
get rid of the extent_item type field

17 years agofsck checks against extent map, small fixes
Chris Mason [Mon, 23 Apr 2007 21:00:26 +0000 (17:00 -0400)]
fsck checks against extent map, small fixes

17 years agofaster btrfsck
Chris Mason [Mon, 23 Apr 2007 19:56:27 +0000 (15:56 -0400)]
faster btrfsck

17 years agoadd owner and type fields to the extents aand block headers
Chris Mason [Sat, 21 Apr 2007 00:23:29 +0000 (20:23 -0400)]
add owner and type fields to the extents aand block headers

17 years agobring back the inode number directory index
Chris Mason [Thu, 19 Apr 2007 19:41:24 +0000 (15:41 -0400)]
bring back the inode number directory index

17 years agoinline file data in extents
Chris Mason [Thu, 19 Apr 2007 17:38:02 +0000 (13:38 -0400)]
inline file data in extents

17 years agokey flag reorg
Chris Mason [Wed, 18 Apr 2007 20:15:47 +0000 (16:15 -0400)]
key flag reorg

17 years agorework csum and extent item ordering
Chris Mason [Tue, 17 Apr 2007 19:40:34 +0000 (15:40 -0400)]
rework csum and extent item ordering

17 years agoearly work to file_write in big extents
Chris Mason [Mon, 16 Apr 2007 13:23:09 +0000 (09:23 -0400)]
early work to file_write in big extents

17 years agoadd some support for multiple devices to progs
Chris Mason [Thu, 12 Apr 2007 16:14:47 +0000 (12:14 -0400)]
add some support for multiple devices to progs

17 years agoadd disk ioctl
Chris Mason [Thu, 12 Apr 2007 14:51:51 +0000 (10:51 -0400)]
add disk ioctl

17 years agoearly support for multiple devices
Chris Mason [Wed, 11 Apr 2007 17:57:55 +0000 (13:57 -0400)]
early support for multiple devices

17 years agouse a different inode number for subvols than the root root dir
Chris Mason [Wed, 11 Apr 2007 12:58:53 +0000 (08:58 -0400)]
use a different inode number for subvols than the root root dir

17 years agobtrfsctl detects dir/file of args
Chris Mason [Tue, 10 Apr 2007 18:12:24 +0000 (14:12 -0400)]
btrfsctl detects dir/file of args

17 years agodrop owner and parentid
Chris Mason [Tue, 10 Apr 2007 16:36:58 +0000 (12:36 -0400)]
drop owner and parentid

17 years agodrop the inode map tree
Chris Mason [Tue, 10 Apr 2007 16:13:29 +0000 (12:13 -0400)]
drop the inode map tree

17 years agobtrfsctl
Chris Mason [Tue, 10 Apr 2007 13:27:30 +0000 (09:27 -0400)]
btrfsctl

17 years agogroundwork for subvolume and snapshot roots
Chris Mason [Mon, 9 Apr 2007 14:42:55 +0000 (10:42 -0400)]
groundwork for subvolume and snapshot roots

17 years agostart of support for subvolumes
Chris Mason [Fri, 6 Apr 2007 19:39:12 +0000 (15:39 -0400)]
start of support for subvolumes

17 years agouuids
Chris Mason [Thu, 5 Apr 2007 18:29:12 +0000 (14:29 -0400)]
uuids

17 years agofinish off inode indexing in dirs, add overflows
Chris Mason [Thu, 5 Apr 2007 16:13:45 +0000 (12:13 -0400)]
finish off inode indexing in dirs, add overflows

17 years agodir inode index
Chris Mason [Thu, 5 Apr 2007 01:23:26 +0000 (21:23 -0400)]
dir inode index

17 years agoupdate print-tree for inline data
Chris Mason [Wed, 4 Apr 2007 17:27:22 +0000 (13:27 -0400)]
update print-tree for inline data

17 years agosync up with kernel sources
Chris Mason [Mon, 2 Apr 2007 18:18:17 +0000 (14:18 -0400)]
sync up with kernel sources

17 years agocsum data struct changes
Chris Mason [Thu, 29 Mar 2007 19:15:49 +0000 (15:15 -0400)]
csum data struct changes

17 years agomove csum fields around
Chris Mason [Wed, 28 Mar 2007 23:45:38 +0000 (19:45 -0400)]
move csum fields around

17 years agoadd generation to file extents
Chris Mason [Tue, 27 Mar 2007 13:15:24 +0000 (09:15 -0400)]
add generation to file extents

17 years agofirst free objectid fixes
Chris Mason [Tue, 27 Mar 2007 10:25:01 +0000 (06:25 -0400)]
first free objectid fixes

17 years agoadd file extents to print_leaf
Chris Mason [Mon, 26 Mar 2007 20:01:00 +0000 (16:01 -0400)]
add file extents to print_leaf

17 years agogenerations on headers
Chris Mason [Mon, 26 Mar 2007 15:24:42 +0000 (11:24 -0400)]
generations on headers

17 years agomkfs and dir-test fixes
Chris Mason [Thu, 22 Mar 2007 20:01:01 +0000 (16:01 -0400)]
mkfs and dir-test fixes

17 years agocreate a root dir in mkfs
Chris Mason [Wed, 21 Mar 2007 15:13:29 +0000 (11:13 -0400)]
create a root dir in mkfs

17 years agoBetter block record keeping, real mkfs
Chris Mason [Wed, 21 Mar 2007 00:35:03 +0000 (20:35 -0400)]
Better block record keeping, real mkfs

17 years agochange dir-test to insert inode_items
Chris Mason [Tue, 20 Mar 2007 19:57:25 +0000 (15:57 -0400)]
change dir-test to insert inode_items

17 years agoUpdate TODO
Chris Mason [Tue, 20 Mar 2007 18:51:12 +0000 (14:51 -0400)]
Update TODO

17 years agoAdd inode map, and the start of file extent items
Chris Mason [Tue, 20 Mar 2007 18:38:32 +0000 (14:38 -0400)]
Add inode map, and the start of file extent items

17 years agoadd transaction.h to the Makefile
Chris Mason [Tue, 20 Mar 2007 13:13:49 +0000 (09:13 -0400)]
add transaction.h to the Makefile

17 years agominor comments
Chris Mason [Sat, 17 Mar 2007 18:29:23 +0000 (14:29 -0400)]
minor comments

17 years agotransaction handles everywhere
Chris Mason [Fri, 16 Mar 2007 20:20:31 +0000 (16:20 -0400)]
transaction handles everywhere

17 years agopin freed blocks from the FS tree too
Chris Mason [Fri, 16 Mar 2007 12:56:18 +0000 (08:56 -0400)]
pin freed blocks from the FS tree too

17 years agoadd a name_len to dir items, reorder key
Chris Mason [Fri, 16 Mar 2007 12:46:49 +0000 (08:46 -0400)]
add a name_len to dir items, reorder key

17 years agoadd inode item
Chris Mason [Thu, 15 Mar 2007 23:03:33 +0000 (19:03 -0400)]
add inode item

17 years agodirectory testing code and dir item fixes
Chris Mason [Thu, 15 Mar 2007 19:18:43 +0000 (15:18 -0400)]
directory testing code and dir item fixes

17 years agoadd hash.h
Chris Mason [Thu, 15 Mar 2007 16:57:43 +0000 (12:57 -0400)]
add hash.h

17 years agoUse a chunk of the key flags to record the item type.
Chris Mason [Thu, 15 Mar 2007 16:56:47 +0000 (12:56 -0400)]
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

17 years agoreorder key offset and flags
Chris Mason [Wed, 14 Mar 2007 18:26:53 +0000 (14:26 -0400)]
reorder key offset and flags

17 years agovariable block size support
Chris Mason [Wed, 14 Mar 2007 18:14:43 +0000 (14:14 -0400)]
variable block size support

17 years agoadd leaf data casting helper
Chris Mason [Wed, 14 Mar 2007 14:31:29 +0000 (10:31 -0400)]
add leaf data casting helper

17 years agoproperly reset block cache on free
Chris Mason [Wed, 14 Mar 2007 13:20:39 +0000 (09:20 -0400)]
properly reset block cache on free

17 years agoChange the super to point to a tree of trees to enable persistent snapshots
Chris Mason [Tue, 13 Mar 2007 20:47:54 +0000 (16:47 -0400)]
Change the super to point to a tree of trees to enable persistent snapshots

17 years agomerge leaves before split
Chris Mason [Tue, 13 Mar 2007 15:17:52 +0000 (11:17 -0400)]
merge leaves before split

17 years agomake some funcs static
Chris Mason [Tue, 13 Mar 2007 15:09:37 +0000 (11:09 -0400)]
make some funcs static

17 years agorename funcs and structs to btrfs
Chris Mason [Tue, 13 Mar 2007 14:46:10 +0000 (10:46 -0400)]
rename funcs and structs to btrfs

17 years agostruct extent_item endian
Chris Mason [Tue, 13 Mar 2007 13:49:06 +0000 (09:49 -0400)]
struct extent_item endian

17 years agonode->blockptrs endian fixes
Chris Mason [Tue, 13 Mar 2007 13:28:32 +0000 (09:28 -0400)]
node->blockptrs endian fixes

17 years agostruct item endian fixes
Chris Mason [Tue, 13 Mar 2007 00:12:07 +0000 (20:12 -0400)]
struct item endian fixes

17 years agostruct key endian fixes
Chris Mason [Mon, 12 Mar 2007 20:22:34 +0000 (16:22 -0400)]
struct key endian fixes

17 years agoAdd sparse endian annotations to struct header
Chris Mason [Mon, 12 Mar 2007 16:29:44 +0000 (12:29 -0400)]
Add sparse endian annotations to struct header
rename struct header to btrfs_header

17 years agoget/set for struct header fields
Chris Mason [Mon, 12 Mar 2007 16:01:18 +0000 (12:01 -0400)]
get/set for struct header fields

17 years agofix leak in btrfs_drop_snapshot
Chris Mason [Mon, 12 Mar 2007 13:03:27 +0000 (09:03 -0400)]
fix leak in btrfs_drop_snapshot

17 years agorecursion free-first pass
Chris Mason [Sat, 10 Mar 2007 11:35:47 +0000 (06:35 -0500)]
recursion free-first pass

17 years agoFixup last found extent caching
Chris Mason [Wed, 7 Mar 2007 21:15:30 +0000 (16:15 -0500)]
Fixup last found extent caching

17 years agoget rid of add recursion
Chris Mason [Wed, 7 Mar 2007 16:50:24 +0000 (11:50 -0500)]
get rid of add recursion

17 years agoFixup reference counting on cows
Chris Mason [Wed, 7 Mar 2007 01:08:01 +0000 (20:08 -0500)]
Fixup reference counting on cows

17 years agoearly reference counting
Chris Mason [Fri, 2 Mar 2007 21:08:05 +0000 (16:08 -0500)]
early reference counting