Commit Graph

243 Commits

Author SHA1 Message Date
Kent Overstreet
978c160405 Fix some clang warnings
the issue in cmd_debug - passing members of struct bpos to kstrtoull,
which aren't aligned - was a legit bug
2017-04-04 06:43:08 -08:00
Kent Overstreet
64c325ef48 Update bcachefs sources to ff95156479 2017-04-04 06:43:08 -08:00
Kent Overstreet
1f24d50522 cmd_dump: fix crash when a device is offline 2017-04-03 19:45:43 -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
6d88817058 Update bcachefs sources 2017-04-02 19:40:36 -08:00
Kent Overstreet
4921d02142 Update bcachefs sources 2017-03-31 05:12:36 -08:00
Kent Overstreet
c0ad33c126 bcachefs-in-userspace improvements
Got rid of the stupid shim file hack
2017-03-19 21:39:19 -08:00
Kent Overstreet
54e00cf016 cmd_migrate fix
missing check_mark_super call - would trigger an assertion if
link_data() was called before we wrote any data
2017-03-19 17:51:23 -08:00
Kent Overstreet
2ea91f85d8 make linux shim timer code less fragile 2017-03-19 17:45:29 -08:00
Kent Overstreet
5ec39af8ea Rename from bcache-tools to bcachefs-tools 2017-03-19 17:31:47 -08:00
Kent Overstreet
bb1941de53 update bcache sources 2017-03-16 14:51:41 -08:00
Kent Overstreet
ac296ad4dc fix percpu_ref_reinit() 2017-03-16 14:23:40 -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
3bf874183a update bcache sources 2017-03-10 12:40:01 -09:00
Kent Overstreet
c3844b0b7f cmd_migrate: fix xattrs 2017-03-10 11:48:39 -09:00
Kent Overstreet
076b4196fc add a force flag to cmd_migrate 2017-03-09 16:12:51 -09: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
171ee48e57 Delete more unused shim code, update bcache code 2017-03-03 23:17:31 -09:00
Kent Overstreet
a5b5eba7f7 New on disk format - encryption 2017-02-28 03:05:38 -09:00
Kent Overstreet
e4d1c93d85 fewer workqueues 2017-02-07 15:41:52 -09:00
Kent Overstreet
d230eaea61 Add a command to dump filesystem metadata 2017-02-06 23:43:16 -09:00
Kent Overstreet
5933f9478c update bcache code, fsck improvements 2017-02-06 20:45:37 -09:00
Kent Overstreet
ab88049a08 linux shim: return an error on failure to open 2017-02-02 17:25:59 -09:00
Kent Overstreet
379520ee87 Fix initialization order bug 2017-02-02 12:57:48 -09:00
Kent Overstreet
b33fc8298f bcache in userspace; userspace fsck 2017-01-20 09:07:08 -09:00
Kent Overstreet
7f4191a202 add support for maximum journal entry size
also rip out prototype crypto support code - real code is in the dev
branch, with the new superblock format
2016-12-11 14:58:27 -09:00
Kent Overstreet
4e158e1553 add dependency generation to make file 2016-10-11 17:50:54 -08:00
Kent Overstreet
8957361d8f print filesystem size in bcache_super_print() 2016-10-11 17:44:03 -08:00
Kent Overstreet
f4eba6559b finish ripping out libnih 2016-10-06 07:19:55 -08:00
Kent Overstreet
f3a8d54837 bcache device_show now dumps superblocks 2016-10-06 06:52:54 -08:00
Kent Overstreet
837a476cc1 bucket size must be a power of two 2016-09-05 18:20:21 -08:00
Kent Overstreet
580ec0497a clang doesn't like nested functions 2016-08-30 16:31:34 -08:00
Kent Overstreet
bca2b16e55 Documentation/makefile work 2016-08-28 18:00:54 -08:00
Kent Overstreet
97de91cb58 minimum number of buckets now 1024 2016-08-25 20:55:43 -08:00
Kent Overstreet
cdd61de630 Rework option handling 2016-08-25 17:39:01 -08:00
Kent Overstreet
932ece1567 master key nonce 2016-08-21 22:16:27 -08:00
Kent Overstreet
b0f08fc1e3 Encryption support 2016-08-17 13:23:03 -08:00
Kent Overstreet
dda0923eeb debify 2016-04-25 17:14:11 -08:00
Kent Overstreet
f2e0c20309 endianness 2016-03-11 21:18:57 -09:00
Kent Overstreet
284c963646 bin, not sbin 2016-03-11 21:18:57 -09:00
Kent Overstreet
cbde373685 On disk format updates 2016-03-11 21:18:57 -09:00
Kent Overstreet
009d6db7b0 Redo lots of stuff 2016-03-11 21:18:42 -09:00
Kent Overstreet
074caf716a Don't install udev hook - it's confusing with bcachefs 2015-08-28 09:04:02 -08:00
Kent Overstreet
e460b80cb1 Fix help for --compression-type 2015-08-28 02:06:01 -08:00
Mike Krinkin
e9acf2e0d2 Fix build error with libblkid usage 2015-08-26 16:23:44 -08:00
Kent Overstreet
f45d84c6ab Add support for setting data checksum type, compression type 2015-06-19 00:57:03 -07:00
Kent Overstreet
15a004c7a2 add an option for writing old superblocks 2015-05-10 23:33:10 -07:00