]> git.sesse.net Git - bcachefs-tools-debian/log
bcachefs-tools-debian
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.

3 years agoUpdate bcachefs sources to fcf8a0889c bcachefs: bch2_alloc_write() should be writing...
Kent Overstreet [Fri, 8 Jan 2021 00:49:15 +0000 (19:49 -0500)]
Update bcachefs sources to fcf8a0889c bcachefs: bch2_alloc_write() should be writing for all devices

3 years agoFix bcachefs device remove --by-id
Kent Overstreet [Tue, 5 Jan 2021 20:01:40 +0000 (15:01 -0500)]
Fix bcachefs device remove --by-id

That's not how you parse an integer in C...

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 5241335413 bcachefs: Fix for spinning in journal reclaim...
Kent Overstreet [Sat, 19 Dec 2020 23:05:09 +0000 (18:05 -0500)]
Update bcachefs sources to 5241335413 bcachefs: Fix for spinning in journal reclaim on startup

3 years agoUpdate bcachefs sources to e1d0fb8c5f bcachefs: Don't require flush/fua on every...
Kent Overstreet [Fri, 4 Dec 2020 18:41:49 +0000 (13:41 -0500)]
Update bcachefs sources to e1d0fb8c5f bcachefs: Don't require flush/fua on every journal write

3 years agoEnsure we always print a message if fsck doesnt't return 0
Kent Overstreet [Fri, 4 Dec 2020 00:15:37 +0000 (19:15 -0500)]
Ensure we always print a message if fsck doesnt't return 0

3 years agoUpdate bcachefs sources to 0010403265 bcachefs: Fix spurious alloc errors on forced...
Kent Overstreet [Thu, 3 Dec 2020 18:07:16 +0000 (13:07 -0500)]
Update bcachefs sources to 0010403265 bcachefs: Fix spurious alloc errors on forced shutdown

3 years agoUpdate bcachefs sources to 021e62a098 bcachefs: Fix error in filesystem initialization
Kent Overstreet [Mon, 30 Nov 2020 04:55:51 +0000 (23:55 -0500)]
Update bcachefs sources to 021e62a098 bcachefs: Fix error in filesystem initialization

3 years agoAdd a subcommand for resizing the journal
Kent Overstreet [Tue, 17 Nov 2020 15:52:29 +0000 (10:52 -0500)]
Add a subcommand for resizing the journal

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to b1107114ca bcachefs: Add an ioctl for resizing journal...
Kent Overstreet [Tue, 17 Nov 2020 15:52:20 +0000 (10:52 -0500)]
Update bcachefs sources to b1107114ca bcachefs: Add an ioctl for resizing journal on a device

3 years agoUpdate bcachefs sources to d1fd471830 bcachefs: Add more debug checks
Kent Overstreet [Fri, 13 Nov 2020 19:41:06 +0000 (14:41 -0500)]
Update bcachefs sources to d1fd471830 bcachefs: Add more debug checks

3 years agoRound up aligned_alloc() allocations
Kent Overstreet [Mon, 16 Nov 2020 23:06:43 +0000 (18:06 -0500)]
Round up aligned_alloc() allocations

this fixes an address sanitizer splat

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoImprove some log messages
Kent Overstreet [Fri, 13 Nov 2020 21:24:12 +0000 (16:24 -0500)]
Improve some log messages

3 years agoFix kmalloc_array macro
Kent Overstreet [Sun, 8 Nov 2020 20:23:13 +0000 (15:23 -0500)]
Fix kmalloc_array macro

This was causing us some valgrind errors.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 1d669389f7 bcachefs: use a radix tree for inum bitmap...
Kent Overstreet [Sat, 7 Nov 2020 16:26:00 +0000 (11:26 -0500)]
Update bcachefs sources to 1d669389f7 bcachefs: use a radix tree for inum bitmap in fsck

3 years agoUpdate bcachefs sources to 8436db7aac bcachefs: Drop alloc keys from journal when...
Kent Overstreet [Sun, 25 Oct 2020 01:21:56 +0000 (21:21 -0400)]
Update bcachefs sources to 8436db7aac bcachefs: Drop alloc keys from journal when -o reconstruct_alloc

3 years agoUpdate bcachefs sources to 13bb4cdf89 bcachefs: Indirect inline data extents
Kent Overstreet [Sun, 25 Oct 2020 01:00:59 +0000 (21:00 -0400)]
Update bcachefs sources to 13bb4cdf89 bcachefs: Indirect inline data extents

3 years agoUpdate bcachefs sources to ff83eed5f5 bcachefs: Fix bch2_mark_stripe()
Kent Overstreet [Fri, 23 Oct 2020 22:43:51 +0000 (18:43 -0400)]
Update bcachefs sources to ff83eed5f5 bcachefs: Fix bch2_mark_stripe()

3 years agoUpdate bcachefs sources to 26c226917f bcachefs: Start/stop io clock hands in read...
Kent Overstreet [Sat, 17 Oct 2020 22:16:50 +0000 (18:16 -0400)]
Update bcachefs sources to 26c226917f bcachefs: Start/stop io clock hands in read/write paths

3 years agoBuild with -Wno-zero_length_bounds
Kent Overstreet [Fri, 16 Oct 2020 02:54:22 +0000 (22:54 -0400)]
Build with -Wno-zero_length_bounds

Copying the linux kernel build settings

3 years agoUpdate bcachefs sources to 0568ed4886 bcachefs: Fix copygc dying on startup
Kent Overstreet [Fri, 16 Oct 2020 02:53:27 +0000 (22:53 -0400)]
Update bcachefs sources to 0568ed4886 bcachefs: Fix copygc dying on startup

3 years agoAdd a shell script version of mount.bcachefs
Kent Overstreet [Tue, 25 Aug 2020 00:23:45 +0000 (20:23 -0400)]
Add a shell script version of mount.bcachefs

Sadly, some people are still running distributions too old to properly
support rust :( In the long term we'd like to use Rust for more of
userspace (and potentially in the kernel); this is just a stopgap
measure.

3 years agoMerge pull request #38 from jnsaff/patch-1
koverstreet [Mon, 24 Aug 2020 21:07:57 +0000 (17:07 -0400)]
Merge pull request #38 from jnsaff/patch-1

Fixes tests which have broken since 'list' improvements

3 years agomake D=1 now implies valgrind
Kent Overstreet [Mon, 24 Aug 2020 20:27:42 +0000 (16:27 -0400)]
make D=1 now implies valgrind

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoAssorted debug and fsck improvements
Kent Overstreet [Mon, 24 Aug 2020 20:26:22 +0000 (16:26 -0400)]
Assorted debug and fsck improvements

This adds a new list mode to "bcachefs list", for printing out nodes as
they exist on disk (before being merge sorted). Also some improvements
to fsck return values.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
3 years agoUpdate bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal read...
Kent Overstreet [Mon, 24 Aug 2020 20:05:04 +0000 (16:05 -0400)]
Update bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal read error paths

3 years agoFixes tests which have broken since 'list' improvements
Jaanus Torp [Sat, 22 Aug 2020 14:30:50 +0000 (14:30 +0000)]
Fixes tests which have broken since 'list' improvements

Improvements to the 'list' command broke the basic test assertion that the output should be only 2 lines. Now it's 95 lines. This PR fixes this test for now.

Thank you for the great work!

3 years agoInitial WIP new user's manual
Kent Overstreet [Sat, 25 Jul 2020 20:20:56 +0000 (16:20 -0400)]
Initial WIP new user's manual

3 years agoAdd missing build dependency
Kent Overstreet [Mon, 20 Jul 2020 16:53:09 +0000 (12:53 -0400)]
Add missing build dependency

3 years agoprint out sequence number in show-super
Kent Overstreet [Wed, 8 Jul 2020 19:58:35 +0000 (15:58 -0400)]
print out sequence number in show-super

3 years agoMerge pull request #36 from Finermeerkat137/man
koverstreet [Fri, 3 Jul 2020 21:40:39 +0000 (17:40 -0400)]
Merge pull request #36 from Finermeerkat137/man

remove any mention of tier from man pages

3 years agoremove any mention of tier from man pages
Sudhip Nashi [Thu, 2 Jul 2020 22:17:48 +0000 (17:17 -0500)]
remove any mention of tier from man pages

3 years agoUpdate bcachefs sources to f385d13bf8 fixup! bcachefs: Fix bch2_extent_can_insert...
Kent Overstreet [Thu, 2 Jul 2020 17:29:45 +0000 (13:29 -0400)]
Update bcachefs sources to f385d13bf8 fixup! bcachefs: Fix bch2_extent_can_insert() not being called

3 years agoMake some improvements to bcachefs fs show
Kent Overstreet [Thu, 2 Jul 2020 17:28:39 +0000 (13:28 -0400)]
Make some improvements to bcachefs fs show

3 years agoUpdate bcachefs sources to 9f34144308 bcachefs: Refactor dio write code to reinit...
Kent Overstreet [Mon, 29 Jun 2020 23:21:45 +0000 (19:21 -0400)]
Update bcachefs sources to 9f34144308 bcachefs: Refactor dio write code to reinit bch_write_op

3 years agoMerge pull request #32 from hyperfekt/patch-1
koverstreet [Sat, 27 Jun 2020 01:50:33 +0000 (21:50 -0400)]
Merge pull request #32 from hyperfekt/patch-1

correct flag listing in fsck help text

3 years agoUpdate bcachefs sources to b1708f0191 bcachefs: Fix a null ptr deref in bch2_btree_it...
Kent Overstreet [Fri, 26 Jun 2020 18:51:58 +0000 (14:51 -0400)]
Update bcachefs sources to b1708f0191 bcachefs: Fix a null ptr deref in bch2_btree_iter_traverse_one()

4 years agoUpdate bcachefs sources to 8a316f4112 bcachefs: Give bkey_cached_key same attributes...
Kent Overstreet [Mon, 15 Jun 2020 21:00:02 +0000 (17:00 -0400)]
Update bcachefs sources to 8a316f4112 bcachefs: Give bkey_cached_key same attributes as bpos

4 years agoAdd an option to list_journal to list entire contents of journal
Kent Overstreet [Mon, 15 Jun 2020 20:27:30 +0000 (16:27 -0400)]
Add an option to list_journal to list entire contents of journal

4 years agoUpdate bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for alloc btree
Kent Overstreet [Sat, 13 Jun 2020 23:31:45 +0000 (19:31 -0400)]
Update bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for alloc btree

4 years agoFix build when CONFIG_BCACHEFS_DEBUG=y
Kent Overstreet [Thu, 4 Jun 2020 11:57:09 +0000 (07:57 -0400)]
Fix build when CONFIG_BCACHEFS_DEBUG=y

4 years agoUpdate bcachefs sources to c9b4a210f9 fixup! bcachefs: Fixes for going RO
Kent Overstreet [Wed, 3 Jun 2020 20:21:35 +0000 (16:21 -0400)]
Update bcachefs sources to c9b4a210f9 fixup! bcachefs: Fixes for going RO

4 years agocorrect flag listing in fsck help text
hyperfekt [Wed, 27 May 2020 16:38:25 +0000 (16:38 +0000)]
correct flag listing in fsck help text

4 years agoImproved functionality for cmd_list
Kent Overstreet [Mon, 25 May 2020 22:33:18 +0000 (18:33 -0400)]
Improved functionality for cmd_list

4 years agoMerge pull request #31 from yshui/master
koverstreet [Sat, 23 May 2020 16:55:02 +0000 (12:55 -0400)]
Merge pull request #31 from yshui/master

kmalloc: use posix_memalign

4 years agokmalloc: use posix_memalign
Yuxuan Shui [Sat, 23 May 2020 16:28:52 +0000 (17:28 +0100)]
kmalloc: use posix_memalign

posix_memalign doesn't have the restriction that size must be a multiply
of alignment.

This also reverts the fix in commit f3fdbbfa92defb1f1d12c0038513b69b52baf33e.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
4 years agoUpdate log2.h from linux kernel
Kent Overstreet [Thu, 21 May 2020 21:19:47 +0000 (17:19 -0400)]
Update log2.h from linux kernel

This fixes a build breakage where the old log2.g referenced
__ilog2_NaN() which we weren't defining.

4 years agoMerge pull request #30 from yshui/master
koverstreet [Thu, 21 May 2020 20:34:58 +0000 (16:34 -0400)]
Merge pull request #30 from yshui/master

Make sure aligned_alloc size is a multiply of alignment

4 years agoMake sure aligned_alloc size is a multiply of alignment
Yuxuan Shui [Thu, 21 May 2020 13:36:00 +0000 (14:36 +0100)]
Make sure aligned_alloc size is a multiply of alignment

Fix a ASan complaint.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
4 years agoAdd reconstruct_alloc option to fsck
Kent Overstreet [Mon, 18 May 2020 18:56:35 +0000 (14:56 -0400)]
Add reconstruct_alloc option to fsck

4 years agoUpdate bcachefs sources to e1f6739c4a bcachefs: Fix another iterator counting bug
Kent Overstreet [Fri, 15 May 2020 01:46:09 +0000 (21:46 -0400)]
Update bcachefs sources to e1f6739c4a bcachefs: Fix another iterator counting bug

4 years agoAdd --offline to device set-state
Kent Overstreet [Sat, 9 May 2020 01:25:25 +0000 (21:25 -0400)]
Add --offline to device set-state

4 years agoDon't build mount.bcachefs by default
Kent Overstreet [Sat, 9 May 2020 01:24:53 +0000 (21:24 -0400)]
Don't build mount.bcachefs by default

So as not to depend on rust yet

4 years agoImprove list_journal command
Kent Overstreet [Fri, 8 May 2020 22:45:56 +0000 (18:45 -0400)]
Improve list_journal command

4 years agoMerge pull request #28 from yshui/mount
koverstreet [Tue, 5 May 2020 21:59:44 +0000 (17:59 -0400)]
Merge pull request #28 from yshui/mount

 Add a mount.bcachefs tool

4 years agoAdd a mount.bcachefs tool
Yuxuan Shui [Mon, 4 May 2020 13:28:38 +0000 (14:28 +0100)]
Add a mount.bcachefs tool

This tool currently has most of the fundmental features implemented.
It can mount a filesystem specified by uuid, it can ask password for an
encrypted filesystem.

There may be some work that needs to be done to make it behave more like
a "mount.*" tool.

Related: #1

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
4 years agoMerge pull request #27 from yshui/master
koverstreet [Tue, 5 May 2020 20:25:43 +0000 (16:25 -0400)]
Merge pull request #27 from yshui/master

Fix building on musl

4 years agoFix building on musl
Yuxuan Shui [Sun, 3 May 2020 18:21:17 +0000 (19:21 +0100)]
Fix building on musl

* Add missing linux/stddef.h includes
* Explicitly cast PAGE_SIZE to size_t. PAGE_SIZE is defined without UL
  suffix in musl
* Musl doesn't define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, so
  initialize the mutexes with pthread_once.

4 years agoSet device read-only if necessary before evacuate
Kent Overstreet [Sat, 25 Apr 2020 20:42:09 +0000 (16:42 -0400)]
Set device read-only if necessary before evacuate

4 years agoFlush stdout when displaying progress bar
Kent Overstreet [Fri, 24 Apr 2020 23:08:39 +0000 (19:08 -0400)]
Flush stdout when displaying progress bar

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
4 years agoDon't use pkgconfig for libkeyutils
Kent Overstreet [Fri, 24 Apr 2020 01:16:05 +0000 (21:16 -0400)]
Don't use pkgconfig for libkeyutils

Centos 7 has an old version that doesn't have the .pc file

4 years agoUpdate bcachefs sources to a27d7265e7 bcachefs: Fix a debug mode assertion
Kent Overstreet [Sat, 4 Apr 2020 20:48:39 +0000 (16:48 -0400)]
Update bcachefs sources to a27d7265e7 bcachefs: Fix a debug mode assertion

4 years agoUpdate bcachefs sources to 7bfc741f64 bcachefs: Fix a null ptr deref during journal...
Kent Overstreet [Sat, 4 Apr 2020 17:59:13 +0000 (13:59 -0400)]
Update bcachefs sources to 7bfc741f64 bcachefs: Fix a null ptr deref during journal replay

4 years agoUpdate bcachefs sources to a897b0f199 bcachefs: Fix a locking bug
Kent Overstreet [Mon, 30 Mar 2020 21:46:47 +0000 (17:46 -0400)]
Update bcachefs sources to a897b0f199 bcachefs: Fix a locking bug

4 years agoUpdate bcachefs sources to 275cba438e bcachefs: Fix inodes pass in fsck
Kent Overstreet [Mon, 30 Mar 2020 18:34:20 +0000 (14:34 -0400)]
Update bcachefs sources to 275cba438e bcachefs: Fix inodes pass in fsck

4 years agoUpdate bcachefs sources to 96b991466a bcachefs: Improve error message in fsck
Kent Overstreet [Wed, 25 Mar 2020 21:59:36 +0000 (17:59 -0400)]
Update bcachefs sources to 96b991466a bcachefs: Improve error message in fsck