mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
Hi Here I'm sending a small compile fix for bcachefs-tools. Without this patch, I get this error: cargo build --release --manifest-path rust-src/Cargo.toml Compiling bch_bindgen v0.1.0 (/usr/src/git/bcachefs-tools/rust-src/bch_bindgen) error: failed to run custom build command for `bch_bindgen v0.1.0 (/usr/src/git/bcachefs-tools/rust-src/bch_bindgen)` Caused by: process didn't exit successfully: `/usr/src/git/bcachefs-tools/rust-src/target/release/build/bch_bindgen-733e88995ce9eab7/build-script-build` (exit status: 101) --- stderr warning: optimization flag '-fkeep-inline-functions' is not supported [-Wignored-optimization-argument] ../../include/linux/bit_spinlock.h:20:3: error: call to undeclared function 'futex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../../include/linux/bit_spinlock.h:28:2: error: call to undeclared function 'futex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../../include/linux/bit_spinlock.h:39:2: error: call to undeclared function 'futex'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] The futex() function is declared in /usr/include/x86_64-linux-gnu/urcu/futex.h It is not declared in linux/futex.h, so we need to include urcu/futex.h Mikulas Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> |
||
---|---|---|
.github/workflows | ||
ccan | ||
debian | ||
doc | ||
include | ||
initramfs | ||
libbcachefs | ||
linux | ||
packaging | ||
raid | ||
rust-src | ||
tests | ||
.bcachefs_revision | ||
.editorconfig | ||
.gitignore | ||
bcachefs.8 | ||
bcachefs.c | ||
build.nix | ||
cmd_assemble.c | ||
cmd_attr.c | ||
cmd_data.c | ||
cmd_device.c | ||
cmd_dump.c | ||
cmd_format.c | ||
cmd_fs.c | ||
cmd_fsck.c | ||
cmd_fusemount.c | ||
cmd_key.c | ||
cmd_kill_btree_node.c | ||
cmd_list_journal.c | ||
cmd_migrate.c | ||
cmd_option.c | ||
cmd_run.c | ||
cmd_subvolume.c | ||
cmd_version.c | ||
cmds.h | ||
config.h | ||
COPYING | ||
crypto.c | ||
crypto.h | ||
default.nix | ||
flake.lock | ||
flake.nix | ||
fsck.bcachefs | ||
INSTALL.md | ||
libbcachefs.c | ||
libbcachefs.h | ||
Makefile | ||
Makefile.compiler | ||
mkfs.bcachefs | ||
mount.bcachefs | ||
mount.bcachefs.sh | ||
qcow2.c | ||
qcow2.h | ||
README.md | ||
tools-util.c | ||
tools-util.h |
bcachefs-tools
Userspace tools and docs for bcachefs
Bcachefs is an advanced new filesystem for Linux, with an emphasis on reliability and robustness and the complete set of features one would expect from a modern filesystem.
This repo primarily consists of the following:
- bcachefs tool, the reason this repo exists.
- {mkfs,mount,fsck}.bcachefs utils, which is just wrappers calling the corresponding subcommands in the main tool
- docs in the form of man-pages and a user manual
Please refer to the main site for getting started An in-depth user manual is (also) found on the official website
Build and install
Refer to INSTALL.md
Bug reports and contributions
- The official mailing list, linux-bcachefs@vger.kernel.org
- IRC: #bcache on OFTC (irc.oftc.net). Although, note that it can be easily missed.