Development of userspace BTRFS tools
Clone or download
kdave Btrfs progs v4.19.1
Signed-off-by: David Sterba <dsterba@suse.com>
Latest commit 167651c Dec 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Documentation btrfs-progs: docs: fix typos in Documentation Nov 26, 2018
check btrfs-progs: check: fix typo in device_extent_record::chunk_objectid Nov 26, 2018
convert btrfs-progs: fix typos in user-visible strings Nov 26, 2018
image btrfs-progs: fix typos in user-visible strings Nov 26, 2018
kernel-lib btrfs-progs: fix typos in comments Nov 26, 2018
kernel-shared btrfs-progs: shared: cleanup includes in ulist.c Mar 8, 2017
libbtrfsutil btrfs-progs: fix typos in comments Nov 26, 2018
m4 btrfs-progs: build: detect whether -std=gnu90 is supported Jun 7, 2018
mkfs btrfs-progs: mkfs: fix typo in "multipler" variables Nov 26, 2018
tests btrfs-progs: tests: fsck/025, fix typo in helpre name Nov 26, 2018
travis btrfs-progs: tests: pull zstd version 1.3.7 to the travis CI Nov 26, 2018
.gitignore btrfs-progs: clean up .gitignore Oct 23, 2018
.travis.yml btrfs-progs: ci: enable clang and python for musl build test Mar 6, 2018
64-btrfs-dm.rules btrfs-progs: udev: add rules for dm devices Jun 1, 2016
Android.mk btrfs-progs: build: Remove unused variable TESTS Jan 8, 2018
CHANGES btrfs-progs: update CHANGES for v4.19.1 Dec 5, 2018
COPYING fix COPYING Jun 12, 2007
INSTALL btrfs-progs: docs: fix typos in READMEs, INSTALL and CHANGES Nov 26, 2018
Makefile btrfs-progs: fix typos in Makefile Nov 26, 2018
Makefile.extrawarn btrfs-progs: build: allow to build with various compiler warnings Oct 21, 2015
Makefile.inc.in btrfs-progs: build: add --disable-shared and --disable-static Aug 6, 2018
README.md btrfs-progs: docs: fix typos in READMEs, INSTALL and CHANGES Nov 26, 2018
VERSION Btrfs progs v4.19.1 Dec 5, 2018
androidcompat.h btrfs-progs: add compat header for android Sep 1, 2015
autogen.sh btrfs-progs: build: simplify version tracking Jan 31, 2018
backref.c btrfs-progs: do not merge tree block refs have different root_id Jun 7, 2018
backref.h btrfs-progs: move ulist.[ch] to kernel-shared Mar 8, 2017
bcp Btrfs-progs: Correct path munging in bcp Oct 25, 2011
btrfs-completion btrfs-progs: completion: let dump-tree/dump-super/inode-resolve accep… Oct 23, 2018
btrfs-corrupt-block.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
btrfs-crc.c btrfs-progs: btrfs-crc: make argc check more strict Jun 3, 2016
btrfs-debugfs btrfs-progs: right-align number columns in btrfs-debugfs output Oct 6, 2017
btrfs-find-root.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
btrfs-fragments.c btrfs-progs: use symbolic tree name when searching Nov 9, 2016
btrfs-list.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
btrfs-list.h btrfs-progs: fix typo in btrfs-list function export Nov 26, 2018
btrfs-map-logical.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
btrfs-sb-mod.c btrfs-progs: sb-mod: add compat bit to the recognized fields Apr 11, 2018
btrfs-select-super.c btrfs-progs: fix typos in user-visible strings Nov 26, 2018
btrfs.c btrfs-progs: fix typos in comments Nov 26, 2018
btrfsck.h btrfs-progs: check: fix typo in device_extent_record::chunk_objectid Nov 26, 2018
btrfstune.c btrfs-progs: btrfstune: Rename change_header_uuid to change_buffer_he… Oct 31, 2018
chunk-recover.c btrfs-progs: constify pathnames passed as arguments Aug 6, 2018
cmds-balance.c btrfs-progs: Fix wrong optind re-initialization to allow mixed option… Aug 6, 2018
cmds-device.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-fi-du.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-fi-usage.c btrfs-progs: Fix wrong optind re-initialization to allow mixed option… Aug 6, 2018
cmds-fi-usage.h btrfs-progs: don't use __u8 for fsid buffers Nov 14, 2017
cmds-filesystem.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-inspect-dump-super.c btrfs-progs: remove BTRFS_CRC32_SIZE definition Mar 30, 2018
cmds-inspect-dump-tree.c btrfs-progs: print-tree: Use bool for @follow Oct 31, 2018
cmds-inspect-tree-stats.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-inspect.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-property.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-qgroup.c btrfs-progs: qgroup: make --rescan the default behavior after assign Oct 31, 2018
cmds-quota.c btrfs-progs: Fix wrong optind re-initialization to allow mixed option… Aug 6, 2018
cmds-receive.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-replace.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-rescue.c btrfs-progs: fix typos in comments Nov 26, 2018
cmds-restore.c btrfs-progs: Replace root parameter using fs_info for reada_for_search() Oct 31, 2018
cmds-scrub.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-send.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
cmds-subvolume.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
commands.h btrfs-progs: move command definitions to commands.h Aug 24, 2017
common-defs.h btrfs-progs: move some common definitions to own header Mar 8, 2017
configure.ac btrfs-progs: fix typos in user-visible strings Nov 26, 2018
ctree.c btrfs-progs: fix typos in comments Nov 26, 2018
ctree.h btrfs-progs: fix typos in comments Nov 26, 2018
delayed-ref.c btrfs-progs: kerncompat: rename swap to __swap Nov 13, 2018
delayed-ref.h btrfs-progs: Add delayed refs infrastructure Oct 23, 2018
dir-item.c btrfs-progs: dir-item: Make btrfs_delete_one_dir_name more robust to … Jun 7, 2018
disk-io.c btrfs-progs: fix typos in comments Nov 26, 2018
disk-io.h btrfs-progs: fix typos in comments Nov 26, 2018
extent-cache.c btrfs-progs: Remove objectid argument from alloc_cache_extent Jun 7, 2018
extent-cache.h btrfs-progs: Remove add_cache_extent2 Jun 7, 2018
extent-tree.c btrfs-progs: treewide: Fix missing declarations Nov 13, 2018
extent_io.c btrfs-progs: Add extent buffer bitmap manipulation infrastructure Oct 23, 2018
extent_io.h btrfs-progs: Add extent buffer bitmap manipulation infrastructure Oct 23, 2018
file-item.c btrfs-progs: Remove root argument from btrfs_del_csums Aug 6, 2018
file.c btrfs-progs: fix typos in comments Nov 26, 2018
find-root.c btrfs-progs: drop blocksize from read_tree_block Sep 8, 2017
find-root.h btrfs-progs: find-root: Allow btrfs-find-root to search chunk root ev… Feb 26, 2016
free-space-cache.c btrfs-progs: free-space-cache: Don't panic when free space cache is c… Aug 6, 2018
free-space-cache.h btrfs-progs: check: add support to clear v1 free space cache Nov 9, 2016
free-space-tree.c btrfs-progs: treewide: Fix missing declarations Nov 13, 2018
free-space-tree.h btrfs-progs: Pull free space tree related code from kernel Oct 25, 2018
fsck.btrfs btrfs-progs: fsck.btrfs: Fix bashism and bad getopts processing May 21, 2015
fsfeatures.c btrfs-progs: move fs features implementation to own file Mar 8, 2017
fsfeatures.h btrfs-progs: Add zstd support Sep 25, 2017
hash.h btrfs-progs: move btrfs_extref_hash() to hash.h Oct 25, 2016
hasher.c Unaligned access fixes Feb 15, 2008
help.c btrfs-progs: fix typos in comments Nov 26, 2018
help.h btrfs-progs: Remove unused parameter Mar 30, 2018
inode-item.c btrfs-progs: remove unused argument from btrfs_lookup_inode_ref Mar 8, 2017
inode-map.c btrfs-progs: handle errors from btrfs_alloc_path Sep 21, 2016
inode.c btrfs-progs: check: adjustments for further repair Oct 16, 2017
internal.h btrfs-progs: libbtrfs: remove max/min macros from API Mar 14, 2016
ioctl-test.c btrfs-progs: tests: make the ioctl-test actually useful Oct 24, 2016
ioctl.h btrfs-progs: ioctl/libbtrfsutil: add 3 definitions of new unprivilege… Oct 31, 2018
kerncompat.h btrfs-progs: kerncompat: rename swap to __swap Nov 13, 2018
library-test.c btrfs-progs: library-test: add all exported headers Mar 31, 2017
messages.c btrfs-progs: add prefix to message helpers Mar 31, 2017
messages.h btrfs-progs: Eliminate remaining uses of strerror(errno) Oct 25, 2018
print-tree.c btrfs-progs: fix typos in comments Nov 26, 2018
print-tree.h btrfs-progs: print-tree: Use bool for @follow Oct 31, 2018
props.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
props.h btrfs-progs: unify header file inclusion protections Jan 21, 2015
qgroup-verify.c btrfs-progs: fix typos in user-visible strings Nov 26, 2018
qgroup-verify.h btrfs-progs: check: enhanced progress indicator Aug 6, 2018
qgroup.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
qgroup.h btrfs-progs: remove unused function btrfs_get_path_rootid Nov 9, 2016
quick-test.c btrfs-progs: fix build of quick-test Aug 6, 2018
random-test.c btrfs-progs: add crude error handling when transaction start fails Sep 8, 2017
rbtree-utils.c Btrfs-progs: break out rbtree util functions Oct 14, 2014
rbtree-utils.h btrfs-progs: libbtrfs, make exported headers compatible with C++ Nov 3, 2014
repair.c btrfs-progs: factor out repair mode Jul 4, 2016
repair.h btrfs-progs: factor out repair mode Jul 4, 2016
root-tree.c btrfs-progs: Use more strict check to read out tree root May 2, 2017
send-dump.c btrfs-progs: fix typos in comments Nov 26, 2018
send-dump.h btrfs-progs: introduce new send-dump object Dec 14, 2016
send-stream.c btrfs-progs: fix typos in comments Nov 26, 2018
send-stream.h btrfs-progs: add missing includes to header files Jun 10, 2015
send-utils.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
send-utils.h btrfs-progs: send-utils: remove unused functions path_cat and path_cat3 Apr 24, 2018
send.h btrfs-progs: Introduce kernel sizes to cleanup large intermediate number Mar 8, 2017
show-blocks btrfs-progs: Remove btrfs-debug-tree command Apr 24, 2018
string-table.c btrfs-progs: constify string arguments where appropriate Oct 3, 2016
string-table.h btrfs-progs: constify string arguments where appropriate Oct 3, 2016
super-recover.c btrfs-progs: rescue-super: don't double free fs_devices Oct 23, 2018
task-utils.c btrfs-progs: task-utils: Fix comparison between pointer and integer Nov 13, 2018
task-utils.h btrfs-progs: check: enhanced progress indicator Aug 6, 2018
transaction.c btrfs-progs: fix typos in user-visible strings Nov 26, 2018
transaction.h btrfs-progs: Add delayed refs infrastructure Oct 23, 2018
utils-lib.c btrfs-progs: treewide: Fix missing declarations Nov 13, 2018
utils.c btrfs-progs: utils: fix typo in a variable Nov 26, 2018
utils.h btrfs-progs: treewide: Fix missing declarations Nov 13, 2018
uuid-tree.c btrfs-progs: treewide: Replace strerror(errno) with %m. Jan 31, 2018
version.h.in btrfs-progs: re-introduce BTRFS_BUILD_VERSION in version.h Mar 16, 2015
volumes.c btrfs-progs: convert strerror to implicit %m Oct 31, 2018
volumes.h btrfs-progs: Remove devid parameter from btrfs_rmap_block Jun 7, 2018

README.md

Btrfs-progs build status coverity status

Userspace utilities to manage btrfs filesystems. License: GPLv2.

Btrfs is a copy on write (COW) filesystem for Linux aimed at implementing advanced features while focusing on fault tolerance, repair and easy administration.

This repository hosts following utilities:

  • btrfs — the main administration tool (manual page)
  • mkfs.btrfs — utility to create the filesystem (manual page)

The C and python 3 bindings are provided by a LGPL library libbtrfsutil see libbtrfsutil/README.md for more.

See INSTALL for build instructions and tests/README.md for testing information.

Release cycle

The major version releases are time-based and follow the cycle of the linux kernel releases. The cycle usually takes 2 months. A minor version releases may happen in the meantime if there are bug fixes or minor useful improvements queued.

The release tags are signed with a GPG key ID F2B4 1200 C54E FB30 380C 1756 C565 D5F9 D76D 583B, release tarballs are hosted at kernel.org. See file CHANGES or changelogs on wiki.

Reporting bugs

There are several ways, each has its own specifics and audience that can give feedback or work on a fix. The following list is sorted in the order of preference:

  • github issue tracker
  • to the mailing list linux-btrfs@vger.kernel.org -- (not required to subscribe), beware that the mail might get overlooked in other traffic
  • IRC (irc.freenode.net #btrfs) -- good for discussions eg. if a bug is already known, but reports could miss developers' attention
  • bugzilla.kernel.org -- (requires registration), set the product to Filesystems and component Btrfs, please put 'btrfs-progs' into the subject so it's clear that it's not a kernel bug report

Development

The patch submissions, development or general discussions take place at linux-btrfs@vger.kernel.org mailinglist, subsciption is not required to post.

The GitHub pull requests will not be accepted directly, the preferred way is to send patches to the mailinglist instead. You can link to a branch in any git repository if the mails do not make it to the mailinglist or just for convenience (makes it easier to test).

The development model of btrfs-progs shares a lot with the kernel model. The github way is different in some ways. We, the upstream community, expect that the patches meet some criteria (often lacking in github contributions):

  • one logical change per patch: eg. not mixing bugfixes, cleanups, features etc., sometimes it's not clear and will be usually pointed out during reviews
  • proper subject line: eg. prefix with btrfs-progs: subpart, ... , descriptive yet not too long, see git log --oneline for some inspiration
  • proper changelog: the changelogs are often missing or lacking explanation why the change was made, or how is something broken, what are user-visible effects of the bug or the fix, how does an improvement help or the intended usecase
  • the Signed-off-by line: this documents who authored the change, you can read more about the The Developer's Certificate of Origin (chapter 11)
    • if you are not used to the signed-off style, your contributions won't be rejected just because of it's missing, the Author: tag will be added as a substitute in order to allow contributions without much bothering with formalities

Documentation updates

Documentation fixes or updates do not need much explanation so sticking to the code rules in the previous section is not necessary. GitHub pull requests are OK, patches could be sent to me directly and not required to be also in the mailinglist. Pointing out typos via IRC also works, although might get accidentally lost in the noise.

References