summaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* btrfs-progs: add a recovery utility to pull files from damanged filesystemsJosef Bacik2011-10-27
| | | | | Signed-off-by: Josef Bacik <josef@redhat.com> Signed-off-by: Chris Mason <chris.mason@oracle.com>
* btrfs-progs: commands addedJan Schmidt2011-10-25
| | | | | | | | - scrub commands added - open_file_or_dir no longer static (needed by scrub.c) Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
* some style/layout changesAndreas Philipp2011-10-25
| | | | | | | | Just do a few simple style/layout changes to make the makefile look better. Signed-off-by: Andreas Philipp <philipp.andreas@gmail.com> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
* add all targets to clean targetAndreas Philipp2011-10-25
| | | | | | | | | When issuing 'make clean' not all files generated by the individual targets have been deleted since some files have been missing in the definition of the 'make clean' target. Signed-off-by: Andreas Philipp <philipp.andreas@gmail.com> Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
* make btrfs cross compilation friendlyKamble, Nitin A2011-10-25
| | | | | | | | | | | | | | | | | | Attached is a patch to fix a cross compilation issue I observed with btrfs-tools. Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Hugo Mills <hugo@carfax.org.uk> Nitin A Kamble Yocto Project www.yoctoproject.org Avoid these kinds of errors while doing cross build: | ccache i586-poky-linux-gcc -march=i586 --sysroot=/disk0/pokybuild/build0/tmp/sysroots/qemux86 -Wp,-MMD,./.btrfsctl.o.d,-MT,btrfsctl.o -Wall -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -pipe -g -feliminate-unused-debug-types -c btrfsctl.c | gcc -O2 -pipe -g -feliminate-unused-debug-types -o btrfsctl btrfsctl.o ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o root-tree.o dir-item.o file-item.o inode-item.o inode-map.o crc32c.o rbtree.o extent-cache.o extent_io.o volumes.o utils.o btrfs-list.o -Wl,-O1 -Wl,--as-needed -luuid | /usr/bin/ld: i386 architecture of input file `btrfsctl.o' is incompatible with i386:x86-64 output | /usr/bin/ld: i386 architecture of input file `ctree.o' is incompatible with i386:x86-64 output
* Add the "btrfs filesystem label" commandGoffredo Baroncelli2011-10-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi all, this patch adds the command "btrfs filesystem label" to change (or show) the label of a filesystem. This patch is a subset of the one written previously by Morey Roof. I included the user space part only. So it is possible only to change/show a label of a *single device* and *unounted* filesystem. The reason of excluding the kernel space part, is to simplify the patch in order to speed the check and then the merging of the patch itself. In fact I have to point out that in the past there was almost three attempts to propose this patch, without success neither complaints. Chris, let me know how you want to proceed. I know that you are very busy, and you prefer to work to stabilize btrfs instead adding new feature. But I think that changing a label is a *essential* feature for a filesystem managing tool. Think about a mount by LABEL. To show a label $ btrfs filesystem label <device> To set a label $ btrfs filesystem label <device> <newlabel> Please guys, give a look to the source. Comments are welcome. You can pull the source from the branch "label" of the repository http://cassiopea.homelinux.net/git/btrfs-progs-unstable.git Regards G.Baroncelli Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs-progs: add a btrfs-select-super command to overwrite the superChris Mason2011-10-25
| | | | | | | | | | | | Btrfs stores multiple copies of the superblock, and for common power-failure crashes where barriers were not in use, one of the super copies is often valid while the first copy is not. This adds a btrfs-select-super -s N /dev/xxx command, which can overwrite all the super blocks with a copy that you have already determined is valid with btrfsck -s Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Add rescue command to zero the logChris Mason2010-10-05
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Fix undefined reference to symbol 'error_message'Yan Zheng2010-09-23
| | | | | | defination of error_message was moved into libcom_err.so Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
* Add ioctl-test.c which just prints all the ioctl numbers.Chris Mason2010-03-15
| | | | | This is used to compare the output on 64 bit and 32 bit machines and make sure all of our ioctls are compat defined.
* new util: 'btrfs'ghigo2010-03-11
| | | | | | | | | | | | | | | This commit introduces a new command called 'btrfs' for managing a btrfs filesystem. 'btrfs' handles: - snapshot/subvolume creation - adding/removal of volume (ie: disk) - defragment of a tree - scan of a device searching a btrfs filesystem - re-balancing of the chunk on the disks - listing subvolumes and snapshots This has also been updated to include the new defrag range ioctl. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Add new defrag range ioctl that can also compress files on demand.Chris Mason2010-03-11
|
* Add btrfs-list for listing subvolumesChris Mason2010-02-28
| | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Add btrfs-map-logical program to map and read logical block numbersChris Mason2009-11-12
| | | | | | | | | This allows us to figure out which physical byte offset on which device is the real location for a given logical block number. It can optionally read the block in and save it to a file for debugging analysis. Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Mixed back reference (FORWARD ROLLING FORMAT CHANGE)Chris Mason2009-06-08
| | | | | | | | | | | | | | | | | This commit introduces a new kind of back reference for btrfs metadata. Once a filesystem has been mounted with this commit, IT WILL NO LONGER BE MOUNTABLE BY OLDER KERNELS. The new back ref provides information about pointer's key, level and in which tree the pointer lives. This information allow us to find the pointer by searching the tree. The shortcoming of the new back ref is that it only works for pointers in tree blocks referenced by their owner trees. This is mostly a problem for snapshots, where resolving one of these fuzzy back references would be O(number_of_snapshots) and quite slow. The solution used here is to use the fuzzy back references in the common case where a given tree block is only referenced by one root, and use the full back references when multiple roots have a reference
* Modify Makefile to include man directoryGoldwyn Rodrigues2009-01-21
|
* Drop bit-radix.[ch] filesChris Mason2009-01-21
| | | | | | | These are no longer in use Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Rename debug-tree to btrfs-debug-treeChris Mason2009-01-07
| | | | | Signed-off-by: Chris Mason <chris.mason@oracle.com>
* Btrfs image toolYan Zheng2008-11-20
| | | | | | | | | This patch adds btrfs image tool. The image tool is a debugging tool that creates/restores btrfs metadump image. Signed-off-by: Yan Zheng <zheng.yan@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.
* 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>
* Print the version string in a few programsChris Mason2008-07-24
|
* 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)
* Add btrfs-vol command to balance, add and (eventually) remove devicesChris Mason2008-04-28
|
* Drop quick-test from the list of programs built by defaultChris Mason2008-04-22
|
* Add a command to show all of the btrfs filesystems on the box (btrfs-show)Chris Mason2008-04-22
|
* Fix up the quick btree code test programChris Mason2008-04-15
|
* Walk all block devices looking for btrfsChris Mason2008-03-24
|
* Add support for multiple devices per filesystemChris Mason2008-03-24
|
* Rename the extent_map code to extent_ioChris Mason2008-03-04
| | | | This mirrors the changes in the kernel code.
* 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(-)
* Install btrfs-convert during make installChris Mason2008-01-14
|
* 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 btrfs-progs to match kernel sourcesYan2008-01-04
|
* 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(-)
* Remove the last radix tree (block_group_cache)Chris Mason2007-10-17
|
* 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
|
* 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.
* calculate checksums during IOJosef Bacik2007-06-28
|
* Allow install prefix overridesJeff Mahoney2007-06-28
|
* remove device treeChris Mason2007-06-09
|
* endian fixes, makefile fixesChris Mason2007-06-07
|
* cleanup warnings found with -O2Chris Mason2007-05-22
|
* start of block group codeChris Mason2007-04-26
|
* add owner and type fields to the extents aand block headersChris Mason2007-04-20
|
* early support for multiple devicesChris Mason2007-04-11
|
* btrfsctlChris Mason2007-04-10
|
* uuidsChris Mason2007-04-05
|