]> git.sesse.net Git - bcachefs-tools-debian/log
bcachefs-tools-debian
2 years agofixup! rst2man detection hangs
jpsollie [Sat, 24 Jul 2021 07:50:52 +0000 (09:50 +0200)]
fixup! rst2man detection hangs

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>
2 years agoadd a blk_wipe function call
jpsollie [Wed, 9 Jun 2021 13:03:38 +0000 (15:03 +0200)]
add a blk_wipe function call

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>
2 years agoReapply compiler checks
jpsollie [Sat, 24 Jul 2021 06:29:32 +0000 (08:29 +0200)]
Reapply compiler checks

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>
2 years agoMakefile: detect rst2man
Stijn Tintel [Fri, 23 Jul 2021 20:06:26 +0000 (23:06 +0300)]
Makefile: detect rst2man

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>
2 years agoBring back debug makefile target
Kent Overstreet [Fri, 23 Jul 2021 22:06:02 +0000 (18:06 -0400)]
Bring back debug makefile target

This seems to have been dropped by mistake

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to 0a9be96b50 bcachefs: BSET_OFFSET()
Kent Overstreet [Fri, 16 Jul 2021 16:58:24 +0000 (12:58 -0400)]
Update bcachefs sources to 0a9be96b50 bcachefs: BSET_OFFSET()

2 years agoUpdate bcachefs sources to 15178a6479 bcachefs: Update btree ptrs after every write
Kent Overstreet [Fri, 16 Jul 2021 01:42:36 +0000 (21:42 -0400)]
Update bcachefs sources to 15178a6479 bcachefs: Update btree ptrs after every write

2 years agoUpdate bcachefs sources to 787de128a5 bcachefs: Improvements to fsck check_dirents()
Kent Overstreet [Tue, 13 Jul 2021 20:31:40 +0000 (16:31 -0400)]
Update bcachefs sources to 787de128a5 bcachefs: Improvements to fsck check_dirents()

2 years agoUpdate bcachefs sources to 400c2f8d96 bcachefs: Mask out unknown compat features...
Kent Overstreet [Sun, 11 Jul 2021 17:56:18 +0000 (13:56 -0400)]
Update bcachefs sources to 400c2f8d96 bcachefs: Mask out unknown compat features when going read-write

2 years agoDocumentation fixup: made filenames more descriptive, switched parsing utility to...
Brett Holman [Thu, 8 Jul 2021 05:07:22 +0000 (23:07 -0600)]
Documentation fixup: made filenames more descriptive, switched parsing utility to python

2 years agoUpdate bcachefs sources to 3693b2ca83 fixup! bcachefs: More topology repair code
Kent Overstreet [Thu, 8 Jul 2021 16:14:49 +0000 (12:14 -0400)]
Update bcachefs sources to 3693b2ca83 fixup! bcachefs: More topology repair code

2 years agoAdd bcachefs.5 to .gitignore
Kent Overstreet [Thu, 8 Jul 2021 00:32:00 +0000 (20:32 -0400)]
Add bcachefs.5 to .gitignore

It's autogenerated now

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash support
Kent Overstreet [Thu, 8 Jul 2021 00:30:53 +0000 (20:30 -0400)]
Update bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash support

2 years agoadd bcachefs xor / xxhash support
jpsollie [Wed, 30 Jun 2021 10:35:36 +0000 (12:35 +0200)]
add bcachefs xor / xxhash support

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>
2 years agoFix some makefile misspellings
Kent Overstreet [Tue, 6 Jul 2021 17:41:31 +0000 (13:41 -0400)]
Fix some makefile misspellings

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoSwitched documentation from asciidoc to rst, added doc autogeneration code for options
Brett Holman [Tue, 6 Jul 2021 05:44:37 +0000 (23:44 -0600)]
Switched documentation from asciidoc to rst, added doc autogeneration code for options

2 years agoUpdate bcachefs sources to 1a510b00b6 bcachefs: Increase BTREE_TRANS_MEM_MAX
Kent Overstreet [Sun, 4 Jul 2021 17:33:53 +0000 (13:33 -0400)]
Update bcachefs sources to 1a510b00b6 bcachefs: Increase BTREE_TRANS_MEM_MAX

2 years agoUpdate bcachefs sources to ca3cfad39f fixup! bcachefs: Improve iter->should_be_locked
Kent Overstreet [Wed, 23 Jun 2021 00:45:30 +0000 (20:45 -0400)]
Update bcachefs sources to ca3cfad39f fixup! bcachefs: Improve iter->should_be_locked

3 years agoFix format args to die()
Kent Overstreet [Tue, 15 Jun 2021 00:28:26 +0000 (20:28 -0400)]
Fix format args to die()

Also, add the format attribute so we get warnings about this.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoCleanup Makefile for better compatibility + enable "make debug"
jpsollie [Thu, 10 Jun 2021 12:33:51 +0000 (14:33 +0200)]
Cleanup Makefile for better compatibility + enable "make debug"

- 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>

3 years agoImprove compiler compatibility + run blkid remove for all filesystems
jpsollie [Wed, 9 Jun 2021 13:03:38 +0000 (15:03 +0200)]
Improve compiler compatibility + run blkid remove for all filesystems

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>

3 years agoUpdate bcachefs sources to b00cf89c56 bcachefs: Allow shorter JSET_ENTRY_dev_usage...
Kent Overstreet [Fri, 11 Jun 2021 04:16:27 +0000 (00:16 -0400)]
Update bcachefs sources to b00cf89c56 bcachefs: Allow shorter JSET_ENTRY_dev_usage entries

3 years agoUpdate bcachefs sources to 69be0dae31 bcachefs: Always zero memory from bch2_trans_km...
Kent Overstreet [Fri, 11 Jun 2021 00:21:18 +0000 (20:21 -0400)]
Update bcachefs sources to 69be0dae31 bcachefs: Always zero memory from bch2_trans_kmalloc()

3 years agoUpdate bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past end of...
Kent Overstreet [Mon, 7 Jun 2021 17:30:40 +0000 (13:30 -0400)]
Update bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past end of usable space

3 years agoWork around build error with gcc <10
Justin Husted [Sat, 5 Jun 2021 09:15:22 +0000 (02:15 -0700)]
Work around build error with gcc <10

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>
3 years agoRe-enable FUSE smoke tests.
Justin Husted [Sat, 5 Jun 2021 08:55:09 +0000 (01:55 -0700)]
Re-enable FUSE smoke tests.

Signed-off-by: Justin Husted <sigstop@gmail.com>
3 years agoDisable fuse remount test w/valgrind
Justin Husted [Sat, 5 Jun 2021 08:51:43 +0000 (01:51 -0700)]
Disable fuse remount test w/valgrind

This test fails with valgrind due to leaks currently.

Signed-off-by: Justin Husted <sigstop@gmail.com>
3 years agoImplement iterator_put in fuse
Justin Husted [Sat, 5 Jun 2021 08:50:16 +0000 (01:50 -0700)]
Implement iterator_put in fuse

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>
3 years agoMake fuse tests fail on emergency ro or iter leak
Justin Husted [Sat, 5 Jun 2021 08:49:41 +0000 (01:49 -0700)]
Make fuse tests fail on emergency ro or iter leak

Signed-off-by: Justin Husted <sigstop@gmail.com>
3 years agoFix smoke_test to use BCACHEFS_DEBUG
Justin Husted [Sat, 5 Jun 2021 08:48:53 +0000 (01:48 -0700)]
Fix smoke_test to use BCACHEFS_DEBUG

This file was not updated when D -> BCACHEFS_DEBUG

Signed-off-by: Justin Husted <sigstop@gmail.com>
3 years agoDisable fuse smoke tests
Justin Husted [Fri, 4 Jun 2021 22:28:57 +0000 (15:28 -0700)]
Disable fuse smoke tests

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>
3 years agoFix python test_list
Justin Husted [Fri, 4 Jun 2021 22:28:17 +0000 (15:28 -0700)]
Fix python test_list

The test arbitrarily checked some printed output which changed.

Signed-off-by: Justin Husted <sigstop@gmail.com>
3 years agoadd Valgrind suppression to ignore userspace-rcu leak
Brett Holman [Fri, 4 Jun 2021 22:01:11 +0000 (16:01 -0600)]
add Valgrind suppression to ignore userspace-rcu leak

3 years agoUpdate bcachefs sources to 3913e0cac3 bcachefs: Journal space calculation fix
Kent Overstreet [Mon, 31 May 2021 19:05:33 +0000 (15:05 -0400)]
Update bcachefs sources to 3913e0cac3 bcachefs: Journal space calculation fix

3 years agoUpdate closures from kernel source tree
Kent Overstreet [Fri, 28 May 2021 01:13:52 +0000 (21:13 -0400)]
Update closures from kernel source tree

3 years agoWrite a backup superblock at the end of the disk
Kent Overstreet [Fri, 28 May 2021 01:12:17 +0000 (21:12 -0400)]
Write a backup superblock at the end of the disk

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoGrab math.h from kernel source tree
Kent Overstreet [Fri, 28 May 2021 01:11:27 +0000 (21:11 -0400)]
Grab math.h from kernel source tree

This gets us round_up() and round_down()

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agobcachefs: add missing journal-resize to help text
Stijn Tintel [Mon, 24 May 2021 21:00:00 +0000 (00:00 +0300)]
bcachefs: add missing journal-resize to help text

The command exists already but was missing from the main help text.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 years agobcachefs: increase indentation in help text
Stijn Tintel [Mon, 24 May 2021 20:58:37 +0000 (23:58 +0300)]
bcachefs: increase indentation in help text

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>
3 years agoMakefile: rename D to BCACHEFS_DEBUG
Stijn Tintel [Thu, 14 May 2020 22:59:42 +0000 (01:59 +0300)]
Makefile: rename D to BCACHEFS_DEBUG

BCACHEFS_DEBUG is far more descriptive. D also conflicts with the D
variable used in Gentoo ebuilds.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 years agoUpdate bcachefs sources to ac3ab6a511 bcachefs: Fix an uninitialized var
Kent Overstreet [Fri, 21 May 2021 00:47:55 +0000 (20:47 -0400)]
Update bcachefs sources to ac3ab6a511 bcachefs: Fix an uninitialized var

3 years agominor fixes for clang support
Brett Holman [Thu, 20 May 2021 03:07:47 +0000 (21:07 -0600)]
minor fixes for clang support

3 years agoUpdate bcachefs sources to 0cd3e1d27a bcachefs: Fix for bch2_bkey_pack_pos() not...
Kent Overstreet [Mon, 17 May 2021 20:47:05 +0000 (16:47 -0400)]
Update bcachefs sources to 0cd3e1d27a bcachefs: Fix for bch2_bkey_pack_pos() not initializing len/version fields

3 years agoFix some minor compiler warnings
Kent Overstreet [Mon, 17 May 2021 20:35:54 +0000 (16:35 -0400)]
Fix some minor compiler warnings

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to ae6f512de8 bcachefs: Fix out of bounds read in fs usage...
Kent Overstreet [Sat, 15 May 2021 18:43:26 +0000 (14:43 -0400)]
Update bcachefs sources to ae6f512de8 bcachefs: Fix out of bounds read in fs usage ioctl

3 years agoUpdate bcachefs sources to b6d5426551 bcachefs: Fix bch2_btree_iter_peek_with_updates()
Kent Overstreet [Sat, 8 May 2021 03:48:50 +0000 (23:48 -0400)]
Update bcachefs sources to b6d5426551 bcachefs: Fix bch2_btree_iter_peek_with_updates()

3 years agoFix a missing free in dump_one_device()
Kent Overstreet [Thu, 6 May 2021 20:08:14 +0000 (16:08 -0400)]
Fix a missing free in dump_one_device()

Hopefully this will fix some OOMs

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to a5c0e1bb30 bcachefs: Clean up bch2_btree_and_journal_walk()
Kent Overstreet [Fri, 30 Apr 2021 20:48:21 +0000 (16:48 -0400)]
Update bcachefs sources to a5c0e1bb30 bcachefs: Clean up bch2_btree_and_journal_walk()

3 years agobit_spinlocks now use futexes
Kent Overstreet [Mon, 26 Apr 2021 23:40:09 +0000 (19:40 -0400)]
bit_spinlocks now use futexes

Spinlocks aren't a good idea in userspace, where we can't actually
disable preemption.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 8d3093bd9b bcachefs: Evict btree nodes we're deleting
Kent Overstreet [Sat, 24 Apr 2021 20:33:06 +0000 (16:33 -0400)]
Update bcachefs sources to 8d3093bd9b bcachefs: Evict btree nodes we're deleting

3 years agoChange cmd_dump to use FSCK_OPT_NO
Kent Overstreet [Sat, 24 Apr 2021 21:13:39 +0000 (17:13 -0400)]
Change cmd_dump to use FSCK_OPT_NO

We just want cmd_dump to walk metadata, not fix errors - the mark and
sweep code is being fixed to make sure it continues on error.

3 years agocmd_list improvements
Kent Overstreet [Sat, 24 Apr 2021 20:48:51 +0000 (16:48 -0400)]
cmd_list improvements

 - update helptext
 - add -l (level) parameter

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to e6fa8eaa1b bcachefs: Fix bch2_verify_keylist_sorted
Kent Overstreet [Sat, 24 Apr 2021 16:11:47 +0000 (12:11 -0400)]
Update bcachefs sources to e6fa8eaa1b bcachefs: Fix bch2_verify_keylist_sorted

3 years agoUpdate bcachefs sources to 3c41353bc1 bcachefs: Fix bch2_verify_keylist_sorted
Kent Overstreet [Wed, 21 Apr 2021 22:13:43 +0000 (18:13 -0400)]
Update bcachefs sources to 3c41353bc1 bcachefs: Fix bch2_verify_keylist_sorted

3 years agoAdd a real mempool implementation
Kent Overstreet [Sat, 24 Apr 2021 04:10:09 +0000 (00:10 -0400)]
Add a real mempool implementation

Imported from the kernel.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to fe72e70682 bcachefs: Fix for btree_gc repairing interior...
Kent Overstreet [Thu, 15 Apr 2021 17:05:38 +0000 (13:05 -0400)]
Update bcachefs sources to fe72e70682 bcachefs: Fix for btree_gc repairing interior btree ptrs

3 years agoFix some small memory leaks
Kent Overstreet [Fri, 16 Apr 2021 21:28:14 +0000 (17:28 -0400)]
Fix some small memory leaks

Found with -fsanitize=leak

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 8eca47e4d5 bcachefs: Improved check_directory_structure()
Kent Overstreet [Tue, 13 Apr 2021 14:24:08 +0000 (10:24 -0400)]
Update bcachefs sources to 8eca47e4d5 bcachefs: Improved check_directory_structure()

3 years agoUpdate bcachefs sources to a8b3ce7599 fixup! bcachefs: Eliminate more PAGE_SIZE uses
Kent Overstreet [Mon, 12 Apr 2021 15:48:36 +0000 (11:48 -0400)]
Update bcachefs sources to a8b3ce7599 fixup! bcachefs: Eliminate more PAGE_SIZE uses

3 years agoAdd --force-if-data-lost to bcachefs device set-state
Kent Overstreet [Fri, 9 Apr 2021 21:25:19 +0000 (17:25 -0400)]
Add --force-if-data-lost to bcachefs device set-state

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoFix krealloc() alignment
Kent Overstreet [Thu, 8 Apr 2021 19:48:45 +0000 (15:48 -0400)]
Fix krealloc() alignment

bcachefs assumes kmalloc & krealloc give out allocations that are
naturally aligned, like the kernel allocators do.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 6a3927a96b fixup! bcachefs: Don't use write side of mark_l...
Kent Overstreet [Mon, 5 Apr 2021 02:25:32 +0000 (22:25 -0400)]
Update bcachefs sources to 6a3927a96b fixup! bcachefs: Don't use write side of mark_lock in journal write path

3 years agoAdd compatible feature bits to bch2_sb_print()
Kent Overstreet [Mon, 5 Apr 2021 02:18:01 +0000 (22:18 -0400)]
Add compatible feature bits to bch2_sb_print()

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to f26267fc82 bcachefs: kill bset_tree->max_key
Kent Overstreet [Mon, 5 Apr 2021 02:12:56 +0000 (22:12 -0400)]
Update bcachefs sources to f26267fc82 bcachefs: kill bset_tree->max_key

3 years agobcaachefs device set-state can now work by id
Kent Overstreet [Sat, 3 Apr 2021 03:20:00 +0000 (23:20 -0400)]
bcaachefs device set-state can now work by id

3 years agoIf we failed to read /proc/meminfo, just run the shrinkers.
Kent Overstreet [Wed, 31 Mar 2021 16:50:09 +0000 (12:50 -0400)]
If we failed to read /proc/meminfo, just run the shrinkers.

3 years agoUpdate bcachefs sources to 9922afc8b6 bcachefs: Add repair code for out of order...
Kent Overstreet [Mon, 29 Mar 2021 04:21:38 +0000 (00:21 -0400)]
Update bcachefs sources to 9922afc8b6 bcachefs: Add repair code for out of order keys in a btree node.

3 years agoUpdate bcachefs sources to 18686af684 bcachefs: Inode backpointers
Kent Overstreet [Sun, 28 Mar 2021 21:38:28 +0000 (17:38 -0400)]
Update bcachefs sources to 18686af684 bcachefs: Inode backpointers

3 years agoIncrease default superblock size to 1MB
Kent Overstreet [Thu, 25 Mar 2021 02:27:43 +0000 (22:27 -0400)]
Increase default superblock size to 1MB

Also - add an option to bcachefs format for specifying it,
--superblock_size

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to ad68801b93 bcachefs: Use pcpu mode of six locks for interi...
Kent Overstreet [Thu, 25 Mar 2021 02:13:00 +0000 (22:13 -0400)]
Update bcachefs sources to ad68801b93 bcachefs: Use pcpu mode of six locks for interior nodes

3 years agoUpdate bcachefs sources to c7defb5793 bcachefs: Split btree_iter_traverse and bch2_bt...
Kent Overstreet [Mon, 22 Mar 2021 19:50:47 +0000 (15:50 -0400)]
Update bcachefs sources to c7defb5793 bcachefs: Split btree_iter_traverse and bch2_btree_iter_traverse()

3 years agoSet features in format
Kent Overstreet [Mon, 22 Mar 2021 20:57:35 +0000 (16:57 -0400)]
Set features in format

This is a fixup for d3dc47271b Add format options for --no-initialize
and specifying the metadata version

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 0a9f0fc68a bcachefs: Don't unconditially version_upgrade...
Kent Overstreet [Sun, 21 Mar 2021 20:40:41 +0000 (16:40 -0400)]
Update bcachefs sources to 0a9f0fc68a bcachefs: Don't unconditially version_upgrade in initialize

3 years agoAdd format options for --no-initialize and specifying the metadata version
Kent Overstreet [Sun, 21 Mar 2021 20:12:26 +0000 (16:12 -0400)]
Add format options for --no-initialize and specifying the metadata version

These are only to be used for tests.

3 years agoAdd the version_min field to cmd_show_super
Kent Overstreet [Sun, 21 Mar 2021 19:59:21 +0000 (15:59 -0400)]
Add the version_min field to cmd_show_super

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoNew data job command
Kent Overstreet [Wed, 17 Mar 2021 01:37:23 +0000 (21:37 -0400)]
New data job command

This adds a new subcommand, bcachefs data job, that gives more direct
access to the data job/ioctl functionality, and hooks up the new rewrite
old nodes data job.

3 years agoUpdate bcachefs sources to 242d37cbd0 bcachefs: Kill btree_iter_pos_changed()
Kent Overstreet [Wed, 17 Mar 2021 01:45:21 +0000 (21:45 -0400)]
Update bcachefs sources to 242d37cbd0 bcachefs: Kill btree_iter_pos_changed()

3 years agoUpdate bcachefs sources to 63924135a1 bcachefs: Have fsck check for stripe pointers...
Kent Overstreet [Fri, 12 Mar 2021 21:56:43 +0000 (16:56 -0500)]
Update bcachefs sources to 63924135a1 bcachefs: Have fsck check for stripe pointers matching stripe

3 years agoDon't die in kthread_create()
Kent Overstreet [Wed, 24 Feb 2021 05:39:01 +0000 (00:39 -0500)]
Don't die in kthread_create()

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enums
Kent Overstreet [Sun, 21 Feb 2021 03:31:38 +0000 (22:31 -0500)]
Update bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enums

3 years agoUpdate bcachefs sources to 9b77e72c47 bcachefs: Extents may now cross btree node...
Kent Overstreet [Sat, 20 Feb 2021 08:28:11 +0000 (03:28 -0500)]
Update bcachefs sources to 9b77e72c47 bcachefs: Extents may now cross btree node boundaries

3 years agoUpdate bcachefs sources to dfb7dc100d bcachefs: Drop invalid stripe ptrs in fsck
Kent Overstreet [Fri, 19 Feb 2021 21:20:21 +0000 (16:20 -0500)]
Update bcachefs sources to dfb7dc100d bcachefs: Drop invalid stripe ptrs in fsck

3 years agoMerge pull request #43 from jpsollie/koverstreet_version
koverstreet [Wed, 17 Feb 2021 19:30:00 +0000 (14:30 -0500)]
Merge pull request #43 from jpsollie/koverstreet_version

Add metadata_target functionality

3 years agoMerge pull request #16 from koverstreet/master
jpsollie [Tue, 16 Feb 2021 12:59:58 +0000 (13:59 +0100)]
Merge pull request #16 from koverstreet/master

update

3 years agoUpdate bcachefs sources to 199bfbed8a lib/generic-radix-tree.c: Don't overflow in...
Kent Overstreet [Sat, 13 Feb 2021 01:51:05 +0000 (20:51 -0500)]
Update bcachefs sources to 199bfbed8a lib/generic-radix-tree.c: Don't overflow in peek()

3 years agogenerix radix trees: Don't overflow in peek()
Kent Overstreet [Sat, 13 Feb 2021 01:12:43 +0000 (20:12 -0500)]
generix radix trees: Don't overflow in peek()

3 years agoUpdate bcachefs sources to 5e73602f6c bcachefs: Fix for fsck hanging
Kent Overstreet [Fri, 12 Feb 2021 21:02:38 +0000 (16:02 -0500)]
Update bcachefs sources to 5e73602f6c bcachefs: Fix for fsck hanging

3 years agoAdd metadata_target functionality
jpsollie [Fri, 12 Feb 2021 06:03:53 +0000 (07:03 +0100)]
Add metadata_target functionality

While metadata_target was an option in bcachefs and the fs driver knows about it,
it was never parsed by the bcachefs format command.
This commit fixes the issue

3 years agoUpdate bcachefs sources to 79847e4824 bcachefs: Fixes/improvements for journal entry...
Kent Overstreet [Wed, 3 Feb 2021 18:11:03 +0000 (13:11 -0500)]
Update bcachefs sources to 79847e4824 bcachefs: Fixes/improvements for journal entry reservations

3 years agoUpdate bcachefs sources to 26409a8f75 bcachefs: Journal updates to dev usage
Kent Overstreet [Tue, 2 Feb 2021 19:26:28 +0000 (14:26 -0500)]
Update bcachefs sources to 26409a8f75 bcachefs: Journal updates to dev usage

3 years agoUpdate bcachefs sources to ea3414eed5 fixup! bcachefs: Improve diagnostics when journ...
Kent Overstreet [Fri, 29 Jan 2021 20:33:24 +0000 (15:33 -0500)]
Update bcachefs sources to ea3414eed5 fixup! bcachefs: Improve diagnostics when journal entries are missing

3 years agoUpdate bcachefs sources to bee34d805c bcachefs: Repair bad data pointers
Kent Overstreet [Thu, 28 Jan 2021 21:16:51 +0000 (16:16 -0500)]
Update bcachefs sources to bee34d805c bcachefs: Repair bad data pointers

3 years agoUpdate bcachefs sources to ffc900d593 fixup! bcachefs: Mark superblocks transactionally
Kent Overstreet [Wed, 27 Jan 2021 02:00:48 +0000 (21:00 -0500)]
Update bcachefs sources to ffc900d593 fixup! bcachefs: Mark superblocks transactionally

3 years agoAdd device index to show-super
Kent Overstreet [Wed, 27 Jan 2021 01:48:58 +0000 (20:48 -0500)]
Add device index to show-super

3 years agoUpdate bcachefs sources to 313b24b652 bcachefs: Fix an assertion
Kent Overstreet [Tue, 19 Jan 2021 04:38:05 +0000 (23:38 -0500)]
Update bcachefs sources to 313b24b652 bcachefs: Fix an assertion

3 years agoEnsure fields don't collide in bcachefs fs usage
Kent Overstreet [Fri, 15 Jan 2021 21:42:55 +0000 (16:42 -0500)]
Ensure fields don't collide in bcachefs fs usage

Also, make them a bit bigger.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 7d57e9b703 bcachefs: Run jset_validate in write path as...
Kent Overstreet [Fri, 15 Jan 2021 20:24:04 +0000 (15:24 -0500)]
Update bcachefs sources to 7d57e9b703 bcachefs: Run jset_validate in write path as well

3 years agoUpdate bcachefs sources to bb2281735c bcachefs: Factor out bch2_ec_stripes_heap_start()
Kent Overstreet [Fri, 15 Jan 2021 19:30:01 +0000 (14:30 -0500)]
Update bcachefs sources to bb2281735c bcachefs: Factor out bch2_ec_stripes_heap_start()

3 years agoUpdate bcachefs sources to 93347f7162 bcachefs: Add btree node prefetching to bch2_bt...
Kent Overstreet [Tue, 12 Jan 2021 21:44:34 +0000 (16:44 -0500)]
Update bcachefs sources to 93347f7162 bcachefs: Add btree node prefetching to bch2_btree_and_journal_walk()

3 years agoDon't use mlockall()
Kent Overstreet [Tue, 12 Jan 2021 21:36:45 +0000 (16:36 -0500)]
Don't use mlockall()

We're hitting -ENOMEM while running fsck - we appear to need memory
overcommit, which mlockall() disables.