summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-30Update bcachefs sources to 0762d9c294 bcachefs: Fix ↵Kent Overstreet
check_inode_update_hardlinks()
2021-09-27Update bcachefs sources to 6c5219caf0 bcachefs: Rev the on disk format ↵v0.15Kent Overstreet
version for snapshots
2021-09-26Subvolume commandsKent Overstreet
2021-09-26Update bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletionKent Overstreet
2021-09-22Make aio code use struct io_iocb_common to support 32 bit architecturesBrett Holman
Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2021-09-21Update bcachefs sources to bd6ed9fb42 fixup! bcachefs: Fix initialization of ↵Kent Overstreet
bch_write_op.nonce
2021-09-09Update bcachefs sources to 3f3f969859 bcachefs: Fix some compiler warningsKent Overstreet
2021-08-05Update bcachefs sources to 60fbf06f49 bcachefs: Fix an unhandled transaction ↵Kent Overstreet
restart
2021-07-28Delete unused variableKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-07-28Update bcachefs sources to b964c6cba8 bcachefs: Change lockrestart_do() to ↵Kent Overstreet
always call bch2_trans_begin()
2021-07-24fix for musl and non-x86 archsBrett Holman
2021-07-24fixup! rst2man detection hangsjpsollie
rst2man tend to hang when called without arguments, so a small -V is appended to print the version. Also, make sure we found at least one rst2man executable Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
2021-07-24add a blk_wipe function calljpsollie
Remove any possible filesystems left on the block device when formatting this makes sure the automounter does not accidentally mount it as another filesystem. one of the functionalities possibly wiped by accodent? Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
2021-07-24Reapply compiler checksjpsollie
The compiler checks where erroneously reverted in the Makefile - this reapplies them, so GCC < 10 can still build the bcachefs tools Signed-off-by: jpsollie <janpieter.sollie@edpnet.be>
2021-07-24Makefile: detect rst2manStijn Tintel
On some distros, rst2man has a .py extension and there is no rst2man. Fix build on such systems by detecting what is available. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-07-23Bring back debug makefile targetKent Overstreet
This seems to have been dropped by mistake Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-07-16Update bcachefs sources to 0a9be96b50 bcachefs: BSET_OFFSET()Kent Overstreet
2021-07-15Update bcachefs sources to 15178a6479 bcachefs: Update btree ptrs after ↵v0.14Kent Overstreet
every write
2021-07-14Update bcachefs sources to 787de128a5 bcachefs: Improvements to fsck ↵Kent Overstreet
check_dirents()
2021-07-11Update bcachefs sources to 400c2f8d96 bcachefs: Mask out unknown compat ↵Kent Overstreet
features when going read-write
2021-07-10Documentation fixup: made filenames more descriptive, switched parsing ↵Brett Holman
utility to python
2021-07-08Update bcachefs sources to 3693b2ca83 fixup! bcachefs: More topology repair codeKent Overstreet
2021-07-07Add bcachefs.5 to .gitignoreKent Overstreet
It's autogenerated now Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-07-07Update bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash supportKent Overstreet
2021-07-07add bcachefs xor / xxhash supportjpsollie
Following the initial xxhash / xor checksum support patches in kernel, bcachefs-tools needs some updated libraries as well. Unfortunately, xor functionality is deeply linked into several low-level functions, so we're adding a set of patches here to translate those into userspace Signed-off-by: Janpieter Sollie <janpieter.sollie@edpnet.be>
2021-07-06Fix some makefile misspellingsKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-07-06Switched documentation from asciidoc to rst, added doc autogeneration code ↵Brett Holman
for options
2021-07-04Update bcachefs sources to 1a510b00b6 bcachefs: Increase BTREE_TRANS_MEM_MAXKent Overstreet
2021-06-23Update bcachefs sources to ca3cfad39f fixup! bcachefs: Improve ↵Kent Overstreet
iter->should_be_locked
2021-06-14Fix format args to die()Kent Overstreet
Also, add the format attribute so we get warnings about this. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-06-13Cleanup Makefile for better compatibility + enable "make debug"jpsollie
- clean up Makefile to improve compiler compatibility - add a "Make debug" target for easier debug builds - update INSTALL - fix six.c when running "make debug" against GCC 9 (maybe-uninitialized) Signed-off by: Janpieter Sollie <janpieter.sollie@edpnet.be>
2021-06-13Improve compiler compatibility + run blkid remove for all filesystemsjpsollie
add a blk_wipe function to remove any possible filesystems left on the block device this makes sure the automounter does not accidentally mount it as another filesystem. Signed-off by: Janpieter Sollie <janpieter.sollie@edpnet.be>
2021-06-12Update bcachefs sources to b00cf89c56 bcachefs: Allow shorter ↵Kent Overstreet
JSET_ENTRY_dev_usage entries
2021-06-10Update bcachefs sources to 69be0dae31 bcachefs: Always zero memory from ↵Kent Overstreet
bch2_trans_kmalloc()
2021-06-08Update bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past ↵Kent Overstreet
end of usable space
2021-06-05Work around build error with gcc <10Justin Husted
linux/six.c: In function ‘__six_lock_type_slowpath’: linux/six.c:73:6: error: ‘old.<U81c8>.v’ may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-05Re-enable FUSE smoke tests.Justin Husted
Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-05Disable fuse remount test w/valgrindJustin Husted
This test fails with valgrind due to leaks currently. Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-05Implement iterator_put in fuseJustin Husted
bcachefs_fuse_setattr and inode_updates_times need to explicitly call iter_put (the API changed a while back). Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-05Make fuse tests fail on emergency ro or iter leakJustin Husted
Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-05Fix smoke_test to use BCACHEFS_DEBUGJustin Husted
This file was not updated when D -> BCACHEFS_DEBUG Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-04Disable fuse smoke testsJustin Husted
The FUSE support was broken a while back by an API change from the kernel. Disable fuse tests until this change is implemented. Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-04Fix python test_listJustin Husted
The test arbitrarily checked some printed output which changed. Signed-off-by: Justin Husted <sigstop@gmail.com>
2021-06-04add Valgrind suppression to ignore userspace-rcu leakBrett Holman
2021-05-31Update bcachefs sources to 3913e0cac3 bcachefs: Journal space calculation fixKent Overstreet
2021-05-27Update closures from kernel source treeKent Overstreet
2021-05-27Write a backup superblock at the end of the diskKent Overstreet
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-05-27Grab math.h from kernel source treeKent Overstreet
This gets us round_up() and round_down() Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-05-25bcachefs: add missing journal-resize to help textStijn Tintel
The command exists already but was missing from the main help text. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2021-05-24bcachefs: increase indentation in help textStijn Tintel
This is in preparation of adding the resize-journal command to the main help text, which would otherwise break the alignment. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>