Justin Husted
37899250f3
Fix memory leak in cmd_format.c
...
Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-11-03 23:17:43 -05:00
Kent Overstreet
3a59ff72a0
initialize filesystem when formatting
...
makes it possible to mount ro for the first mount, helps with some
xfstests tests
2019-04-06 17:45:19 -04:00
Tim Schlueter
287db5472d
Fix format -g to create a disk group
2019-01-13 18:53:37 -08:00
Kent Overstreet
5f7dd4b4b2
Fix target options
2019-01-13 14:15:01 -05:00
Kent Overstreet
6892dcbcc0
readd -q (--quiet)
2019-01-03 10:23:42 -05:00
Kent Overstreet
0e9822571c
Use opts.h for format options
2018-12-19 18:27:57 -05:00
Tim Schlueter
f2665657cf
Fixed format args and removed unnecessary strdup()s
2018-11-04 23:23:11 -08:00
Kent Overstreet
6aabc97dc9
Add --durability to format
2018-03-13 03:23:27 -04:00
Kent Overstreet
8a57b1f1d5
minor disk group fixes;, add background_compression option
2018-02-28 17:57:55 -05:00
Kent Overstreet
cdf17bffad
disk groups
2018-02-19 19:01:07 -05:00
Leah Neukirchen
e523a844d6
format: the error_action readonly is spelled remount_ro
2018-02-09 20:51:23 +01:00
Leah Neukirchen
a502eb5094
format: document -U (used by many mkfs.*)
2018-02-09 19:21:47 +01:00
Kent Overstreet
7875b82630
New data rereplicate command
2018-02-08 15:33:43 -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
dbad1685bc
show-super can now print more stuff
2017-12-29 21:15:47 -05:00
Austin Seipp
997bb216aa
build: require explicit include paths for libbcachefs/
...
This removes the implicit `-I libbcachefs` argument to $(CC), which in turn
requires a set of minor changes throughout the tools. There are two advantages
to this setup:
1) It is (arguably) easier to read, since the location of bcachefs includes
are easier to understand at a glance ("where does util.h live?")
2) It removes the need for a hack to include glibc's copy of
dirent.h explicitly via '/usr/include/dirent.h', because libbcachefs/
*also* has a dirent.h file and the compiler cannot disambiguate them.
This has some ramifications on systems where /usr/include may not
exist, such as NixOS.
Signed-off-by: Austin Seipp <aseipp@pobox.com>
2017-12-10 16:06:01 -06:00
Kent Overstreet
a95883db43
add --replicas
2017-12-02 06:04:16 -05:00
Kent Overstreet
097fd2a5e6
Add commands for changing and removing passphrase
2017-11-08 16:06:37 -09:00
Kent Overstreet
bf8c59996b
Update for new superblock options; makefile improvements
2017-10-08 10:25:36 -08:00
Kent Overstreet
e004b95b88
fix sync writes - don't use O_EXCL
2017-05-05 00:27:50 -08:00
Kent Overstreet
e783d814e8
Update bcachefs sources to da037866e6
2017-04-09 20:12:37 -08:00
Kent Overstreet
2831b89a7c
More cmd_migrate improvements
...
Factor out bch2_pick_bucket_size() from the format code, and pick the
bucket size before picking the superblock location - that way we can
ensure the superblock gets its own bucket and doesn't trigger warnings
due to the allocation code noticing different types of data in the same
bucket.
2017-04-02 19:43:35 -08:00
Kent Overstreet
5ec39af8ea
Rename from bcache-tools to bcachefs-tools
2017-03-19 17:31:47 -08:00
Kent Overstreet
d4e6736e59
Add --quiet to cmd_format
2017-03-14 11:47:09 -08:00
Kent Overstreet
d252e12acc
Refactoring for device specific commands
2017-03-12 06:53:43 -08:00
Kent Overstreet
07ddcf0bef
cmd_device_add improvements
2017-03-09 09:26:56 -09:00
Kent Overstreet
ac1b32acb4
cmd_device_fail
...
Add a comamnd for setting a device as failed, update bcache sources
2017-03-09 09:14:11 -09:00
Kent Overstreet
a17f7bcec7
cmd_migrate
2017-03-09 09:14:11 -09:00
Kent Overstreet
a5b5eba7f7
New on disk format - encryption
2017-02-28 03:05:38 -09:00
Kent Overstreet
5933f9478c
update bcache code, fsck improvements
2017-02-06 20:45:37 -09:00