summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Modify the subvol and snapshot creation ioctls to work anywhere in the treeChris Mason2008-11-18
| | | | | | | | | | | | | | | | | | | | | | | | This changes the snapshot and subvol ioctl API and command lines so that new snapshots and subvols can be created anywhere. Subvolume creation hasn't changed much: btrfsctl -S subvol_name directory This creates a new subvolume under 'directory' Snapshot creation looks the same, but is actually different: btrfsctl -s full_path_to_new_snapshot file_or_dir For example: btrfsctl -s /mnt/new_snap /mnt/subvol Will create a new snapshot named new_snap under /mnt of the root found in /mnt/subvol. It always snapshots the entire root regardless of which file or directory inside the root you give it. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* update btrfs-progs for seed device supportYan Zheng2008-11-18
| | | | | | | | | | | | This patch does the following: 1) Update device management code to match the kernel code. 2) Allocator fixes. 3) Add a program called btrfstune to set/clear the SEEDING super block flags.
* Add fallocate support v2Yan Zheng2008-10-31
| | | | | | | This patch updates btrfs-progs for fallocate support. Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
* Avoid tree of tree root cow when committing a clean FSChris Mason2008-10-30
| | | | | | | | | | | | | The root node generation number code made commit_tree_root look like the kernel code. It forces a cow of the tree of tree roots even when the FS hasn't changed. This causes errors during fsck and other readonly operations. This adds a check to see if commit_tree_root is going to trigger writes to the tree of tree roots, and bails if none are pending. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Rev the disk format for compression and root pointer generation fieldsChris Mason2008-10-29
| | | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Add root tree pointer transaction idsYan Zheng2008-10-29
| | | | | | | | | | This patch adds transaction IDs to root tree pointers. Transaction IDs in tree pointers are compared with the generation numbers in block headers when reading root blocks of trees. This can detect some types of IO errors. Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
* Add disk format elements for compressionChris Mason2008-10-29
| | | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Rev the disk format for the new back reference formatChris Mason2008-10-09
| | | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Count space allocated to file in bytesYan Zheng2008-10-09
| | | | | | | | This patch updates btrfs-progs for counting space allocated to file in bytes. Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
* Remove offset field from struct btrfs_extent_refYan Zheng2008-10-09
| | | | | | | | | | | | | | The offset field in struct btrfs_extent_ref records the position inside file that file extent is referenced by. In the new back reference system, tree leaves holding reference to file extent are recorded explicitly. We can quickly scan these tree leaves, so the offset field is not required. This patch also makes the back reference system check the objectid when extents are being deleted Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
* update mkfs.btrfs for the new space balancing codeZheng Yan2008-09-26
| | | | | | | The new space balancing code needs a subvol to store the temporary inode for data extent relocation. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Full back reference supportZheng Yan2008-09-23
| | | | | | | | This patch makes the back reference system to explicit record the location of parent node for all types of extents. The location of parent node is placed into the offset field of backref key. Every time a tree block is balanced, the back references for the affected lower level extents are updated.
* Disk format changes required for write ahead tree logChris Mason2008-09-05
|
* Rev the disk formatChris Mason2008-08-21
|
* Switch btrfs_name_hash() to crc32cDavid Woodhouse2008-08-20
| | | | | Date: Tue, 19 Aug 2008 19:21:22 +0100 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
* Use git for version number tooDavid Woodhouse2008-08-20
| | | | | Date: Tue, 19 Aug 2008 18:57:17 +0100 Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
* fix btrfs-progs version scriptEric Sandeen2008-08-06
| | | | | | | | btrfs-progs-0.16.tar.bz2 seems to be distributed w/o an .hg, which make the version.sh script go bonk. Signed-off-by: Eric Sandeen <sandeen@redhat.com> ---
* Added tag v0.16 for changeset 2b26e4f8c71eChris Mason2008-08-04
|
* Update version.sh to v0.16Chris Mason2008-08-04
|
* btrfs-convert: Iterate correctly using libext2fs functionsRadoslaw Szkodzinski2008-07-30
| | | | | | This patch corrects open-coded inode_map iteration, which happens to be illegal in new libext2fs due to inode_map being private, causing warning, which becomes a compile error.
* Cleanup btrfsctl help messageemail.ahmedkamal@googlemail.com2008-07-30
| | | | | | | Many options were not mentioned in the usage message, fix that and cleaning up the brackets Signed-Off-By: Ahmed Kamal <email.ahmedkamal@googlemail.com>
* Fix: btrfsctl arguments handlingAhmed2008-07-30
| | | | | | btrfsctl -A in the current -unstable branch, does not result in the error message designated for it, namely "-A requires an arg\n"
* btrfs-convert new dir index supportYan2008-07-30
| | | | This patch updates btrfs-convert for the new dir index format.
* btrfs-progs: add orphan support to print-treeJosef Bacik2008-07-30
| | | | | This adds orphan support to print-tree so when debug_tree hits an orphan item it will print out "orphan item" under it so you know what it is
* Rev the disk formatChris Mason2008-07-24
|
* btrfs-progs new dir index supportJosef Bacik2008-07-24
|
* Print the version string in a few programsChris Mason2008-07-24
|
* Add version stringsChris Mason2008-07-23
|
* Add .hgignore file to ignore verison.hChris Mason2008-07-23
|
* Add sync and transaction ioctl defsChris Mason2008-06-10
| | | | | | | | | btrfsctl -c forces a single FS sync The transaction ioctls are unsafe for general use because they can lead to deadlocks if the application is not very careful. But, ceph is experimenting with btrfs as a backing store, and these ioctls are required for testing.
* btrfsctl: print usage when called with bad argsLinda Knippers2008-06-09
|
* Added tag v0.15 for changeset e6571e2ce0c8Chris Mason2008-05-29
|
* Verify parent generation number on btree readsChris Mason2008-05-13
|
* Pass down the expected generation number when reading tree blocksChris Mason2008-05-12
|
* Fix the pretty print code for num_bytes == 0Chris Mason2008-05-12
|
* Add a readonly flag open_ctree to force RO opensChris Mason2008-05-05
|
* bcp updates for single file copiesChris Mason2008-05-02
|
* Add bcp to test the clone file ioctlChris Mason2008-05-02
|
* Fix compiler warning in volumes.cChris Mason2008-05-02
|
* Add the clone ioctl numberChris Mason2008-05-02
|
* Fix uninitialized variables, and use -O so gcc starts checking for themChris Mason2008-05-01
| | | | | | | | 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)
* Added tag v0.14 for changeset 969099968b60Chris Mason2008-04-29
|
* Fix btrfs-convert's large file support.Zhu2008-04-28
| | | | | | This patch add ext2_inode.i_size_high into account when calculating regular file's size in btrfs-convert, which makes it deal with large files bigger than 4GB properly.
* Add btrfs-vol command to balance, add and (eventually) remove devicesChris Mason2008-04-28
|
* Add mkfs.btrfs -A offset to control allocation start on devicesChris Mason2008-04-25
| | | | | | This is a utility option for the resizer, it makes sure to allocate at offset bytes in the disk or higher. It ensures the resizer will have something to move when testing it.
* Speed improvement and bug fixes for ext3 converterYan Zheng2008-04-24
| | | | | | | | This patch improves converter's allocator and fixes a bug in data relocation function. The new allocator caches free blocks as Btrfs's default allocator. In testing here, the user CPU time reduced to half of the original when checksum and small file packing was disabled. This patch also enlarges the size of block groups created by the converter.
* Fix balance_level to free the middle block if there is room in the left oneChris Mason2008-04-24
| | | | | | balance level starts by trying to empty the middle block, and then pushes from the right to the middle. This might empty the right block and leave a small number of pointers in the middle.
* Don't empty the middle buffer in push_nodes_for_insertChris Mason2008-04-24
|
* Keep more pointers free in the nodes for double splitsChris Mason2008-04-24
|
* Drop quick-test from the list of programs built by defaultChris Mason2008-04-22
|