]> git.sesse.net Git - bcachefs-tools-debian/log
bcachefs-tools-debian
2 years agoUpdate manpage to follow --label and --compression updates
Igor Velkov [Tue, 28 Dec 2021 19:19:19 +0000 (21:19 +0200)]
Update manpage to follow --label and --compression updates

2 years agoUpdate bcachefs sources to f9d2e809a8 bcachefs: Turn encoded_extent_max into a regula...
Kent Overstreet [Wed, 22 Dec 2021 04:42:46 +0000 (23:42 -0500)]
Update bcachefs sources to f9d2e809a8 bcachefs: Turn encoded_extent_max into a regular option

2 years agoUpdate bcachefs sources to aa540d47ab bcachefs: Option improvements
Kent Overstreet [Wed, 22 Dec 2021 04:13:52 +0000 (23:13 -0500)]
Update bcachefs sources to aa540d47ab bcachefs: Option improvements

2 years agoUpdate bcachefs sources to d3422f9b18 bcachefs: Journal initialization fixes
Kent Overstreet [Wed, 22 Dec 2021 02:53:07 +0000 (21:53 -0500)]
Update bcachefs sources to d3422f9b18 bcachefs: Journal initialization fixes

2 years agoFix migrate tool for snapshots
Kent Overstreet [Mon, 20 Dec 2021 20:49:32 +0000 (15:49 -0500)]
Fix migrate tool for snapshots

This updates cmd_migrate.c for the snapshot field & subvolumes.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoDelete old bcachefs.5 from makefile
Kent Overstreet [Mon, 20 Dec 2021 20:24:22 +0000 (15:24 -0500)]
Delete old bcachefs.5 from makefile

2 years agofix init_layout()
Kent Overstreet [Mon, 20 Dec 2021 02:55:09 +0000 (21:55 -0500)]
fix init_layout()

It was incorrectly failing when we did have enough space for the
superblocks - >= should have been >.  Also, give it a better error
message.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to ff3a76e1af bcachefs: Change need_whiteout_for_snapshot...
Kent Overstreet [Mon, 20 Dec 2021 00:37:29 +0000 (19:37 -0500)]
Update bcachefs sources to ff3a76e1af bcachefs: Change need_whiteout_for_snapshot() to clone iterator

2 years agoUpdate bcachefs sources to 635ca475f4 bcachefs: Fix debug build in userspace
Kent Overstreet [Tue, 14 Dec 2021 21:15:21 +0000 (16:15 -0500)]
Update bcachefs sources to 635ca475f4 bcachefs: Fix debug build in userspace

2 years agoRename group to label in show-super output
Kent Overstreet [Mon, 13 Dec 2021 22:14:44 +0000 (17:14 -0500)]
Rename group to label in show-super output

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to 6bb1ba5c94 bcachefs: Improve alloc_mem_to_key()
Kent Overstreet [Sat, 11 Dec 2021 22:25:34 +0000 (17:25 -0500)]
Update bcachefs sources to 6bb1ba5c94 bcachefs: Improve alloc_mem_to_key()

2 years agoFix device add for kernel sysfs changes
Kent Overstreet [Fri, 10 Dec 2021 19:07:31 +0000 (14:07 -0500)]
Fix device add for kernel sysfs changes

Also slightly improve some error messages

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoRename --group to --label
Kent Overstreet [Fri, 10 Dec 2021 18:32:35 +0000 (13:32 -0500)]
Rename --group to --label

Disk labels used to be called groups - not all uses had been converted.
This renames --group to --label, and --label to --fs_label

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to 50d6a25d9c bcachefs: Erasure coding fixes
Kent Overstreet [Tue, 30 Nov 2021 20:27:31 +0000 (15:27 -0500)]
Update bcachefs sources to 50d6a25d9c bcachefs: Erasure coding fixes

2 years agoUpdate bcachefs sources to 4c24a1cf56 bcachefs: Fix BCH_FS_ERROR flag handling
Kent Overstreet [Sun, 21 Nov 2021 21:26:39 +0000 (16:26 -0500)]
Update bcachefs sources to 4c24a1cf56 bcachefs: Fix BCH_FS_ERROR flag handling

2 years agoUpdate bcachefs sources to 2152e671d8 bcachefs: Add a bit of missing repair code
Kent Overstreet [Sun, 21 Nov 2021 19:55:54 +0000 (14:55 -0500)]
Update bcachefs sources to 2152e671d8 bcachefs: Add a bit of missing repair code

2 years agoMerge https://github.com/YellowOnion/bcachefs-tools
Kent Overstreet [Tue, 16 Nov 2021 23:56:44 +0000 (18:56 -0500)]
Merge https://github.com/YellowOnion/bcachefs-tools

2 years agoFix sub commands not triggering without arguments
Daniel B. Hill [Mon, 15 Nov 2021 23:41:28 +0000 (12:41 +1300)]
Fix sub commands not triggering without arguments

Signed-off-by: Daniel B. Hill <daniel@gluo.nz>
2 years agoUpdate bcachefs sources to 70b5fb5daf bcachefs: Fix error reporting from bch2_journal...
Kent Overstreet [Tue, 16 Nov 2021 14:12:15 +0000 (09:12 -0500)]
Update bcachefs sources to 70b5fb5daf bcachefs: Fix error reporting from bch2_journal_flush_seq

2 years agoFix uninitialized vars
Kent Overstreet [Mon, 15 Nov 2021 20:19:44 +0000 (15:19 -0500)]
Fix uninitialized vars

This fixes crashes when listing btree nodes.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to 6afa1fcb13 bcachefs: Clean up error reporting in the start...
Kent Overstreet [Sat, 6 Nov 2021 16:46:36 +0000 (12:46 -0400)]
Update bcachefs sources to 6afa1fcb13 bcachefs: Clean up error reporting in the startup path

2 years agoUpdate bcachefs sources to 6d9ff21de7 bcachefs: Kill journal buf bloom filter
Kent Overstreet [Fri, 5 Nov 2021 19:08:36 +0000 (15:08 -0400)]
Update bcachefs sources to 6d9ff21de7 bcachefs: Kill journal buf bloom filter

2 years agofix version and show-super not working
Daniel B. Hill [Thu, 4 Nov 2021 04:38:58 +0000 (17:38 +1300)]
fix version and show-super not working

2 years agoUpdate bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent()
Kent Overstreet [Thu, 4 Nov 2021 01:24:52 +0000 (21:24 -0400)]
Update bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent()

2 years agoAdd more specific subcommand usage messages
Brett Holman [Mon, 1 Nov 2021 04:30:13 +0000 (22:30 -0600)]
Add more specific subcommand usage messages

The device, data, fs, and subvolume subcommands currently print out a
generic usage message. Make these more specific.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agoUpdate bcachefs sources to 043cfba30c fixup! bcachefs: Improve transaction restart...
Kent Overstreet [Mon, 1 Nov 2021 10:39:12 +0000 (06:39 -0400)]
Update bcachefs sources to 043cfba30c fixup! bcachefs: Improve transaction restart handling in fsck code

2 years agoUpdate bcachefs sources to 82c5cc8f00 bcachefs: Improve transaction restart handling...
Kent Overstreet [Thu, 28 Oct 2021 20:50:03 +0000 (16:50 -0400)]
Update bcachefs sources to 82c5cc8f00 bcachefs: Improve transaction restart handling in fsck code

2 years agoUpdate bcachefs sources to b1899a0bd9 bcachefs: Move bch2_evict_subvolume_inodes...
Kent Overstreet [Thu, 28 Oct 2021 20:27:01 +0000 (16:27 -0400)]
Update bcachefs sources to b1899a0bd9 bcachefs: Move bch2_evict_subvolume_inodes() to fs.c

2 years agoUpdate bcachefs sources to 4c58f10d48 bcachefs: More general fix for transaction...
Kent Overstreet [Mon, 25 Oct 2021 22:32:51 +0000 (18:32 -0400)]
Update bcachefs sources to 4c58f10d48 bcachefs: More general fix for transaction paths overflow

2 years agoUpdate bcachefs sources to cdf89ca564 bcachefs: Fix fsck path for refink pointers
Kent Overstreet [Mon, 25 Oct 2021 01:24:05 +0000 (21:24 -0400)]
Update bcachefs sources to cdf89ca564 bcachefs: Fix fsck path for refink pointers

2 years agoCosmetic fixes for device resize-journal
Chris Webb [Sun, 24 Oct 2021 12:52:32 +0000 (13:52 +0100)]
Cosmetic fixes for device resize-journal

Correct the operation name from 'journal-resize' to 'resize-journal' in the
bcachefs usage summary, matching the command that is actually implemented.

Fix the size argument so it isn't optional. Defaulting to the entire device
makes sense for 'device resize', to automatically expand the fs to fill the
block device. However, it is never meaningful (or possible) to expand the
journal to the full disk.

Signed-off-by: Chris Webb <chris@arachsys.com>
2 years agoUse scrypt from libsodium
Chris Webb [Sat, 23 Oct 2021 15:49:25 +0000 (16:49 +0100)]
Use scrypt from libsodium

bcachefs-tools has both libscrypt and libsodium as build dependencies,
but libsodium already includes the same scrypt implementation as libscrypt,
originally written by Colin Percival.

Use the libsodium copy, dropping the extra libscrypt dependency.

Explicitly adopt the default scrypt N, r and p values from libscrypt to
avoid unintended changes in the default work parameters for bcachefs.

Signed-off-by: Chris Webb <chris@arachsys.com>
2 years agoUpdate bcachefs sources to 6d1f979bc5 bcachefs: Subvol dirents are now only visible...
Kent Overstreet [Thu, 21 Oct 2021 18:20:03 +0000 (14:20 -0400)]
Update bcachefs sources to 6d1f979bc5 bcachefs: Subvol dirents are now only visible in parent subvol

2 years agoUpdate bcachefs sources to 718df3f7c2 bcachefs: Fix restart handling in for_each_btre...
Kent Overstreet [Thu, 21 Oct 2021 17:09:39 +0000 (13:09 -0400)]
Update bcachefs sources to 718df3f7c2 bcachefs: Fix restart handling in for_each_btree_key()

2 years agoswitch to -n2 for pytest
Kayla Firestack [Wed, 20 Oct 2021 14:13:13 +0000 (10:13 -0400)]
switch to -n2 for pytest

2 years agobcachefs-kernel: update hash
Kayla Firestack [Wed, 20 Oct 2021 18:55:22 +0000 (14:55 -0400)]
bcachefs-kernel: update hash

2 years agonix overlay: convert sha to file
Kayla Firestack [Wed, 20 Oct 2021 13:28:25 +0000 (09:28 -0400)]
nix overlay: convert sha to file

2 years agobcachefs-kernel.nix: rename sha256 function input
Kayla Firestack [Tue, 19 Oct 2021 19:25:33 +0000 (15:25 -0400)]
bcachefs-kernel.nix: rename sha256 function input
overlay.nix: rename diffHash to sha256

replaces diffHash function argument with the name sha256 for clarity

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoflake.nix: add boot stage1 module test, which takes a long time to build
Kayla Firestack [Tue, 19 Oct 2021 19:32:02 +0000 (15:32 -0400)]
flake.nix: add boot stage1 module test, which takes a long time to build

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoflake.nix: add netboot-bcachefs nixosSystem definition
Kayla Firestack [Tue, 19 Oct 2021 19:28:13 +0000 (15:28 -0400)]
flake.nix: add netboot-bcachefs nixosSystem definition

define example bcachefs enabled nixos installer
allows netboot to nixos installer with bcachefs kernel and -tools installed

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoflake.nix: add nixosModules
Kayla Firestack [Tue, 19 Oct 2021 19:26:41 +0000 (15:26 -0400)]
flake.nix: add nixosModules

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoflake.nix: add mount developer environment
Kayla Firestack [Tue, 19 Oct 2021 19:30:45 +0000 (15:30 -0400)]
flake.nix: add mount developer environment

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoUpdate bcachefs sources to 4dd9a5a488 bcachefs: Fix for leaking of reflinked extents
Kent Overstreet [Wed, 20 Oct 2021 17:43:31 +0000 (13:43 -0400)]
Update bcachefs sources to 4dd9a5a488 bcachefs: Fix for leaking of reflinked extents

2 years agoUpdate bcachefs sources to d9d1235f3c bcachefs: Handle transaction restarts in bch2_b...
Kent Overstreet [Wed, 20 Oct 2021 16:33:59 +0000 (12:33 -0400)]
Update bcachefs sources to d9d1235f3c bcachefs: Handle transaction restarts in bch2_blacklist_entries_gc()

2 years agoedit default.nix to use the proper pytest variable
Kayla Firestack [Wed, 20 Oct 2021 13:53:04 +0000 (09:53 -0400)]
edit default.nix to use the proper pytest variable

2 years agoMakefile: fix rst2man lookup and add pytest lookup
Kayla Firestack [Wed, 20 Oct 2021 13:30:12 +0000 (09:30 -0400)]
Makefile: fix rst2man lookup and add pytest lookup
add pytest and rst2man lookups though command-v and which if available,
default to ENV/ARGS in the case of user specified locations and otherwise lookup via shell

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoMakefile: prefix libbcachefs.so installation with `DESTDIR`
Kayla Firestack [Tue, 19 Oct 2021 18:43:08 +0000 (14:43 -0400)]
Makefile: prefix libbcachefs.so installation with `DESTDIR`

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoMerge remote-tracking branch 'firestack/dev/nix/add-which'
Kent Overstreet [Tue, 19 Oct 2021 18:32:04 +0000 (14:32 -0400)]
Merge remote-tracking branch 'firestack/dev/nix/add-which'

2 years agorst2man: convert `which` to `command -v`
Kayla Firestack [Tue, 19 Oct 2021 18:28:14 +0000 (14:28 -0400)]
rst2man: convert `which` to `command -v`

Signed-off-by: Kayla Firestack <dev@kaylafire.me>
2 years agoUpdate bcachefs sources to 720f644e63 bcachefs: Improve reflink repair code
Kent Overstreet [Tue, 19 Oct 2021 17:50:45 +0000 (13:50 -0400)]
Update bcachefs sources to 720f644e63 bcachefs: Improve reflink repair code

2 years agofix "no rst2man found!" build error on debian and ubuntu
Igor Velkov [Mon, 18 Oct 2021 20:37:40 +0000 (23:37 +0300)]
fix "no rst2man found!" build error on debian and ubuntu

2 years agoadd missing python3, python3-docutils dependency
Igor Velkov [Sun, 25 Jul 2021 10:25:31 +0000 (13:25 +0300)]
add missing python3, python3-docutils dependency

2 years agoBuild with -fPIC
Kent Overstreet [Mon, 18 Oct 2021 20:57:08 +0000 (16:57 -0400)]
Build with -fPIC

The changes to how we integrate with rust code mean that we now need to
be emitting position indepedent code.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoadd nixos check
Kayla Firestack [Mon, 18 Oct 2021 18:21:38 +0000 (14:21 -0400)]
add nixos check
add cachix action

2 years agosplit mount into a library crate for rust reuse
Kayla Firestack [Mon, 18 Oct 2021 17:27:51 +0000 (13:27 -0400)]
split mount into a library crate for rust reuse

update makefile to output shared library and rust build
fix default.nix to properly get the binary name for `ln`ing - move binary to main.rs
add rustfmt and gitignore files
move build.rs file into bch_bindgen for reuse between projects
add outputs to nix flake and checks
add mount.toml to makefile

2 years agoadd mount and bch-bindgen nix builder file
Kayla Firestack [Mon, 18 Oct 2021 16:34:12 +0000 (12:34 -0400)]
add mount and bch-bindgen nix builder file

update kernel diffHash

2 years agomove mount into rust-src, add to overlay
Kayla Firestack [Mon, 18 Oct 2021 16:21:23 +0000 (12:21 -0400)]
move mount into rust-src, add to overlay

2 years agoadd nix flake with checks, overlay, and default package
Kayla Firestack [Thu, 14 Oct 2021 14:19:36 +0000 (10:19 -0400)]
add nix flake with checks, overlay, and default package

2 years agoupdate default.nix to use latest dependencies and newer stdenv, as well as be flake...
Kayla Firestack [Thu, 14 Oct 2021 14:17:23 +0000 (10:17 -0400)]
update default.nix to use latest dependencies and newer stdenv, as well as be flake compatible and overlay compatible

2 years agoadd kernel nix builder
Kayla Firestack [Thu, 14 Oct 2021 14:16:32 +0000 (10:16 -0400)]
add kernel nix builder

2 years agoadd overlay
Kayla Firestack [Thu, 14 Oct 2021 14:15:59 +0000 (10:15 -0400)]
add overlay

2 years agoFix 32 bit io regression
Brett Holman [Sun, 17 Oct 2021 00:28:49 +0000 (18:28 -0600)]
Fix 32 bit io regression

In commit ba1dbafc1fce I reverted 9942fc82d43b, which was a workaround
for an upstream 32bit libaio bug. Oops.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agomake BIO_MAX_VECS unsigned, like the kernel definition
Brett Holman [Sat, 16 Oct 2021 19:41:43 +0000 (13:41 -0600)]
make BIO_MAX_VECS unsigned, like the kernel definition

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agoUpdate bcachefs sources to 710cd382bf bcachefs: Fix for leaking of reflinked extents
Kent Overstreet [Thu, 14 Oct 2021 15:22:05 +0000 (11:22 -0400)]
Update bcachefs sources to 710cd382bf bcachefs: Fix for leaking of reflinked extents

2 years agoUpdate bcachefs sources to 07c2895cb3 bcachefs: Add a valgrind memcheck hint
Kent Overstreet [Wed, 13 Oct 2021 15:00:02 +0000 (11:00 -0400)]
Update bcachefs sources to 07c2895cb3 bcachefs: Add a valgrind memcheck hint

2 years agoUpdate valgrind suppressions file for urcu leak.
Brett Holman [Tue, 12 Oct 2021 01:13:07 +0000 (19:13 -0600)]
Update valgrind suppressions file for urcu leak.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agoFix errors related to rst2man warning message:
Brett Holman [Tue, 12 Oct 2021 04:23:51 +0000 (22:23 -0600)]
Fix errors related to rst2man warning message:

- Warning message doesn't print and causes build to exit.
- .SHELLSTATUS doesn't work on some versions of Make.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agoClean up smoketest and pytests.
Brett Holman [Mon, 11 Oct 2021 21:23:09 +0000 (15:23 -0600)]
Clean up smoketest and pytests.

- Replace depreciated tempfile with mktemp in smoketest.
- Remove unused pytest imports and variables.
- Make path lookup less fragile. Allows pytest to run from any cwd.
- Prevent exeptions caused by calling functions/methods on None objects.
- Disable fuse tests in smoketest. These are broken and add noise.
- Add missing travis CI dependency.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agoFall back to synchronous io when kernel doesn't support aio.
Brett Holman [Sun, 10 Oct 2021 20:13:40 +0000 (14:13 -0600)]
Fall back to synchronous io when kernel doesn't support aio.

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agoCorrectly print out error from io_setup()
Kent Overstreet [Sat, 9 Oct 2021 20:20:28 +0000 (16:20 -0400)]
Correctly print out error from io_setup()

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agopytest: remove arbitrary assertion
Kayla Fire [Tue, 5 Oct 2021 15:44:57 +0000 (11:44 -0400)]
pytest: remove arbitrary assertion

2 years agoUpdate bcachefs sources to 4114ced1db bcachefs: Fix allocator shutdown error message
Kent Overstreet [Fri, 1 Oct 2021 14:10:55 +0000 (10:10 -0400)]
Update bcachefs sources to 4114ced1db bcachefs: Fix allocator shutdown error message

2 years agoPrint better error message when shrinking is attempted
Kent Overstreet [Thu, 30 Sep 2021 21:15:17 +0000 (17:15 -0400)]
Print better error message when shrinking is attempted

Shrinking's not supported yet.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to 0762d9c294 bcachefs: Fix check_inode_update_hardlinks()
Kent Overstreet [Thu, 30 Sep 2021 15:10:49 +0000 (11:10 -0400)]
Update bcachefs sources to 0762d9c294 bcachefs: Fix check_inode_update_hardlinks()

2 years agoUpdate bcachefs sources to 6c5219caf0 bcachefs: Rev the on disk format version for...
Kent Overstreet [Mon, 27 Sep 2021 17:32:44 +0000 (13:32 -0400)]
Update bcachefs sources to 6c5219caf0 bcachefs: Rev the on disk format version for snapshots

2 years agoSubvolume commands
Kent Overstreet [Thu, 4 Mar 2021 19:48:21 +0000 (14:48 -0500)]
Subvolume commands

2 years agoUpdate bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletion
Kent Overstreet [Sun, 26 Sep 2021 22:19:46 +0000 (18:19 -0400)]
Update bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletion

2 years agoMake aio code use struct io_iocb_common to support 32 bit architectures
Brett Holman [Thu, 16 Sep 2021 23:44:21 +0000 (17:44 -0600)]
Make aio code use struct io_iocb_common to support 32 bit architectures

Signed-off-by: Brett Holman <bholman.devel@gmail.com>
2 years agoUpdate bcachefs sources to bd6ed9fb42 fixup! bcachefs: Fix initialization of bch_writ...
Kent Overstreet [Wed, 22 Sep 2021 00:49:08 +0000 (20:49 -0400)]
Update bcachefs sources to bd6ed9fb42 fixup! bcachefs: Fix initialization of bch_write_op.nonce

2 years agoUpdate bcachefs sources to 3f3f969859 bcachefs: Fix some compiler warnings
Kent Overstreet [Thu, 9 Sep 2021 23:06:29 +0000 (19:06 -0400)]
Update bcachefs sources to 3f3f969859 bcachefs: Fix some compiler warnings

2 years agoUpdate bcachefs sources to 60fbf06f49 bcachefs: Fix an unhandled transaction restart
Kent Overstreet [Thu, 5 Aug 2021 17:11:04 +0000 (13:11 -0400)]
Update bcachefs sources to 60fbf06f49 bcachefs: Fix an unhandled transaction restart

2 years agoDelete unused variable
Kent Overstreet [Wed, 28 Jul 2021 21:21:07 +0000 (17:21 -0400)]
Delete unused variable

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to b964c6cba8 bcachefs: Change lockrestart_do() to always...
Kent Overstreet [Wed, 28 Jul 2021 21:26:38 +0000 (17:26 -0400)]
Update bcachefs sources to b964c6cba8 bcachefs: Change lockrestart_do() to always call bch2_trans_begin()

2 years agofix for musl and non-x86 archs
Brett Holman [Thu, 22 Jul 2021 23:30:21 +0000 (17:30 -0600)]
fix for musl and non-x86 archs

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