Kent Overstreet
4aefd5f903
add missing include
2018-02-17 13:36:55 -05:00
Kent Overstreet
807abf36c1
Update bcachefs sources to e99d29e402 bcachefs: zstd support, compression refactoring
2018-02-16 18:13:24 -05:00
koverstreet
8d95f4a437
Merge pull request #2 from modelrockettier/master
...
Improve Debian Package Builds
2018-02-11 21:03:36 -05:00
Tim Schlueter
3c85d9f009
Set debian/compat to 10
...
* Compat level 10 allows parallel builds by default.
* Also changed debuild to use short arguments.
* Long arguments weren't supported until dpkg-dev 1.18.8.
2018-02-11 15:32:34 -08:00
Tim Schlueter
8544024bc1
Set PREFIX to /usr for .deb builds
2018-02-11 15:31:38 -08:00
Kent Overstreet
813862a47c
add -c to cmd_unlock, to check if a device needs to be unlocked
2018-02-11 14:25:33 -05:00
Leah Neukirchen
b5e3302af7
fsck: support -a as -p for compatibility with other fsck
2018-02-10 22:48:48 +01:00
Leah Neukirchen
71f6f6ece5
fsck: fix typo in usage
2018-02-10 22:48:15 +01:00
Kent Overstreet
a3ec9b0a01
add a missing build dependency
2018-02-10 04:45:03 -05:00
Leah Neukirchen
e8a350841c
include/linux/bitmap.h: inline __bitmap_weight and __bitmap_and
2018-02-10 00:08:32 +01:00
Leah Neukirchen
0f85ced799
tools-util.c: define generic crc32c on non-x86_64 arch
2018-02-09 23:13:24 +01:00
Leah Neukirchen
71c55882fa
include/linux/time64.h: no need for __iter_div_u64_rem in userspace
2018-02-09 22:54:12 +01:00
Leah Neukirchen
c725c69d77
include/linux/log2.h: define PAGE_SHIFT when needed
2018-02-09 22:21:46 +01:00
Leah Neukirchen
3217fffd09
Patches to support musl libc
...
UTIME_NOW is defined in <sys/stat.h> on glibc and musl.
Else, we just need a few headers to get glibc's <sys/cdefs.h> crud.
2018-02-09 22:20:56 +01:00
Leah Neukirchen
e523a844d6
format: the error_action readonly is spelled remount_ro
2018-02-09 20:51:23 +01:00
Leah Neukirchen
79ce40239a
list: fix usage header
2018-02-09 19:25:46 +01:00
Leah Neukirchen
06a81e6d29
list: document -f and -v
2018-02-09 19:25:17 +01:00
Leah Neukirchen
869e51901d
migrate: migrate_superblock -> migrate-superblock in usage
2018-02-09 19:22:52 +01:00
Leah Neukirchen
a502eb5094
format: document -U (used by many mkfs.*)
2018-02-09 19:21:47 +01:00
Leah Neukirchen
a2a99187c1
dump: document -f
2018-02-09 19:18:58 +01:00
Leah Neukirchen
0feb77e79e
device add: support --help
2018-02-09 19:17:26 +01:00
Leah Neukirchen
487282f7a1
bcachefs.8: completely rewrite manpage with mdoc, adapting to current usages
2018-02-09 19:14:24 +01:00
Leah Neukirchen
2a6b7fe8ba
mkfs.bcachefs: convert to POSIX sh
2018-02-09 16:54:03 +01:00
Leah Neukirchen
1c0c62559f
fsck.bcachefs: convert to POSIX sh
2018-02-09 16:52:44 +01:00
Leah Neukirchen
6c9e9b675c
Makefile: default PREFIX to /usr/local
2018-02-09 16:33:26 +01:00
koverstreet
fc96071b58
Merge pull request #1 from Pneumaticat/patch-1
...
typo: "migrate_superblock" -> "migrate-superblock"
2018-02-08 16:53:26 -05:00
Kevin Liu
d81d11623d
typo: "migrate_superblock" -> "migrate-superblock"
2018-02-08 16:26:25 -05:00
Kent Overstreet
7875b82630
New data rereplicate command
2018-02-08 15:33:43 -05:00
Kent Overstreet
6976570d67
Update bcachefs sources to d5e561b3cc bcachefs: BCH_DATA ioctl
2018-02-08 15:33:42 -05:00
Kent Overstreet
a9f5937a97
cmd_migrate fixes
...
when linking existing data, we weren't creating alloc btree keys - also,
we were calculating the wrong bucket...
2018-02-07 06:52:56 -05:00
Kent Overstreet
1ef243e3ad
Update bcachefs sources to 496cbe9474 bcachefs: export bch2_alloc_write()
2018-02-07 06:16:50 -05:00
Kent Overstreet
99adc23cf6
Update bcachefs sources to 0e765bc37c bcachefs: foreground merging of interior btree nodes
2018-02-05 00:31:32 -05:00
Kent Overstreet
27c0b6fbc5
use futex instead of pthread cond variable for schedule
2018-02-05 00:13:40 -05:00
Kent Overstreet
7c29c458db
Update bcachefs sources to 2834633e12 bcachefs: fix ioctls that set inode flags
2018-01-21 16:39:23 -05:00
Kent Overstreet
fe2d5ef75f
Update bcachefs sources to ae6e8a59d3 bcachefs: quota limit enforcement
2018-01-21 12:17:34 -05:00
Kent Overstreet
4de98a2712
Update bcachefs sources to 02ae70070a bcachefs: Allocate new btree roots lazily
2018-01-11 07:02:08 -05:00
Kent Overstreet
f8cbede6d1
fix cmd_evacuate
2017-12-30 03:36:12 -05:00
Kent Overstreet
dbad1685bc
show-super can now print more stuff
2017-12-29 21:15:47 -05:00
Kent Overstreet
88242ec7a3
Update bcachefs sources to 0b8c5d0fb7 bcachefs: refactor superblock validation
2017-12-29 21:15:45 -05:00
Kent Overstreet
aca9f96dcc
Resizing
2017-12-28 02:55:08 -05:00
Kent Overstreet
9d2dfea54b
update for bcachefs changes
2017-12-28 02:55:08 -05:00
Kent Overstreet
d77921a153
Update bcachefs sources to f4b290345a bcachefs: device resize
2017-12-28 02:55:06 -05:00
Kent Overstreet
30caf69540
Add bcachefs fs usage
2017-12-23 00:51:19 -05:00
Kent Overstreet
14117dcdfb
Update bcachefs sources to 2afdc642c2 bcachefs: kill bucket_data_type, improve disk usage stats
2017-12-23 00:51:17 -05:00
Kent Overstreet
da37a5f204
Update bcachefs sources to b2f5acc670 bcachefs: fix assertion in journal read
2017-12-21 18:57:37 -05:00
Kent Overstreet
1cf4d51dc4
Update bcachefs sources to 14ce2a2031 bcachefs: fixes for building in userspace
2017-12-21 18:06:45 -05:00
Austin Seipp
8acc54456e
make: correct path to 'bcachefs' in mkfs/fsck scripts
...
The fsck and bcachefs scripts simply worked by running 'exec bcachefs
...', but this executes whatever is out of `$PATH`, which is likely not
what a user expected when working inside the bcachefs-tools tree.
This replaces the local uses of 'exec bcachefs' to use bash's
readlink/dirname builtins in order to find the location of the currently
executing wrapper, and execute the 'bcachefs' tool from there.
This allows executing these wrappers from anywhere, provided 'bcachefs'
is just right next to them, with the correct semantics.
As a result, this also allows removing a tiny hack from the Nix
expressions, allowing the included default.nix to use completely
standard mkDerivation builders, with no extra patch/fixup phases.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-17 12:46:45 -06:00
Kent Overstreet
5053c6ed25
fix default checksum types
2017-12-15 12:57:40 -05:00
Kent Overstreet
ea83a3985d
Update bcachefs sources to e57b5958cf bcachefs: fix for building in userspace
2017-12-13 16:12:38 -05:00
Kent Overstreet
f2feceddae
Shim layer updates
2017-12-13 16:07:21 -05:00