summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add debug-tree -e to print all allocated extents, and show-blocks to graph themChris Mason2008-03-03
|
* Added tag v0.13 for changeset 58b803dc9faeChris Mason2008-02-21
|
* CRC32C big endian bugs...David Miller2008-02-15
| | | | | The CRC32C implementation in the btrfs progs is different from the one in the kernel, so obviously nothing can possibly work on big-endian.
* Unaligned access fixesDavid Miller2008-02-15
| | | | | | | | | | | | | The first problem is that these SETGET macros lose typing information, and therefore can't see the 'packed' attribute and therefore take unaligned access SIGBUS signals on sparc64 when trying to derefernce the member. The next problem is a similar issue in btrfs_name_hash(). This gets passed things like &key.offset which is a member of a packed structure, losing this packed'ness information btrfs_name_hash() performs a potentially unaligned memory access, again resulting in a SIGBUS.
* mkfs: Zero 2MB at the start and end of the deviceChris Mason2008-02-15
| | | | But, on sparc, don't zero the first 1k.
* Added tag v0.12 for changeset 5e8f040cdf7cChris Mason2008-02-06
|
* Update magicChris Mason2008-02-04
|
* Hash in the owner and offset for file extent backref keysChris Mason2008-02-01
|
* Fix for test_range_bitYan2008-01-22
| | | | | test_range_bit doesn't properly handle the case: there's a hole at the end of the range and there's no other extent_state after the range.
* Fix btrfsck args checkingKyle McMartin2008-01-22
| | | | | btrfsck fails to check if it actually received a dev argument though, so if you don't pass a device, we get a nice segfault.
* btrfs-progs: build with -D_FORTIFY_SOURCE=2Jan Engelhardt2008-01-22
| | | | | | | | | | | 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(-)
* btrfs-progs: fix a buffer overflow during mkfsJan Engelhardt2008-01-22
| | | | | | | | | | | | Using strncpy avoids a 1 byte overflow into the next field of the struct. The overflow is harmless, but does trip automated tools. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* Fix for btrfs_find_free_objectidYan2008-01-22
| | | | | | btrfs_find_free_objectid may return a used objectid due to arithmetic underflow. This bug may happen when parameter 'root' is tree root, so it may cause serious problems when creating snapshot or sub-volume.
* Fixes for the converterYan2008-01-22
| | | | | | | | | | | | | | Hello, This patch fixes two newly found bugs in the converter. The important one is in create_ext2_image, sub-volume root directory's size not properly updated after creating the ext2 image file. The other one is a small bug in xattr support codes. In addition to the fixes, this patch moves the 'if mounted' check to main() function. Regards YZ ---
* Added tag v0.11 for changeset b3e59089dab6Chris Mason2008-01-17
|
* Remove kernel-space header in btrfs-progsYan2008-01-17
| | | | | | When porting ctree.c in btrfs kernel module to btrfs-progs, I forgot to remove a kernel-space header. This may cause compile error on some system.
* Added tag v0.10 for changeset 548ea8d7514bChris Mason2008-01-15
|
* Install btrfs-convert during make installChris Mason2008-01-14
|
* Change the magic to rev the disk formatChris Mason2008-01-14
|
* Add readonly inode flagYan2008-01-14
| | | | | This patch adds readonly inode flag support. A file with this flag can't be modified, but can be deleted.
* xattr support for the ext3->btrfs converterYan2008-01-14
|
* Fix a typo in btrfs-progs/extent_map.cYan2008-01-14
| | | | | | Hello, update_extent_state is called with wrong parameter in merge_state.
* Add rollback support for the converterYan2008-01-08
| | | | | | This patch adds rollback support for the converter, the converter can roll back a conversion if the image file haven't been modified. In addition, I rearrange some codes in convert.c and add a few comments.
* A few update for btrfs-progsYan2008-01-08
| | | | | | | Hello, This patch adds inode flags definition to btrfs-progs and updates extent-tree.c to match the kernel.
* btrfs_print_node: don't use btrfs_item_key_to_cpu on nodesChris Mason2008-01-07
|
* Add Yan Zheng's ext3->btrfs conversion programChris Mason2008-01-04
| | | | | run make convert to build it, the program is named btrfs-convert and is not installed by default.
* Update find_free_extent for the ext3 conversion toolYan2008-01-04
| | | | | This patch adds customized find_free_extent support to btrfs-progs, the conversion program requires this.
* Update btrfs-progs to match kernel sourcesYan2008-01-04
|
* Port extent buffer to btrfs-progsYan Zheng2008-01-04
| | | | | | | This patch ports extent buffer to btrfs-progs. extent_map.c contains a simplified extent map tree and functions that manipulate/manage extent buffer. extent state related codes are based on corresponding codes in kernel module, codes that manage extent buffer are from disk-io.c.
* Add online resizing ioctlsChris Mason2007-12-21
| | | | btrfsctl -r size mount_point
* Verify extent back references in btrfsckChris Mason2007-12-14
|
* Reorder extent back refs to differentiate file data from btree blocksChris Mason2007-12-13
|
* Create macros to generation set/get funcs for on disk structuresChris Mason2007-12-12
|
* Add back pointers from the inode to the directory that referenced itChris Mason2007-12-12
|
* Makefile: CFLAGS, LDFLAGSJan Engelhardt2007-12-11
| | | | | | | | | | | | | | 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(-)
* Add back pointers from extents to the file or btree referencing themChris Mason2007-12-11
|
* Add generation numbers to block pointersChris Mason2007-12-09
|
* Update btrfs-progs to better match the kernelYan2007-12-05
|
* Added tag v0.9 for changeset 99eb8cf2ca51Chris Mason2007-12-04
|
* Add simple stripe size parameterChris Mason2007-11-30
|
* xattr support for btrfs-progsJosef Bacik2007-11-16
|
* properly init block group cache structsChris Mason2007-10-19
|
* Remove the last radix tree (block_group_cache)Chris Mason2007-10-17
|
* Make the crc32c code match what the kernel modules are currently doingChris Mason2007-10-15
|
* Create a slightly more generic extent-caching structureChris Mason2007-10-15
|
* Switch to byte granular allocationsChris Mason2007-10-15
|
* Stop using radix trees to record pending allocationsChris Mason2007-10-15
|
* Allow large blocksChris Mason2007-10-15
|
* Add per-file dependency trackingJan Engelhardt2007-09-14
| | | | | | | | 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.
* Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again.Jan Engelhardt2007-09-14
| | | | | | | | | 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.)