Commit Graph

258 Commits

Author SHA1 Message Date
Kent Overstreet
63065c0128 Update bcachefs sources to 9ceb982d77 bcachefs: Store bucket gens in a btree 2017-05-08 06:57:17 -08:00
Kent Overstreet
e57a624feb Update bcachefs sources to 113b475ed2 bcachefs: Better error handling reading bucket prios/gens 2017-05-08 02:26:04 -08:00
Kent Overstreet
f9395eeca5 Update bcachefs sources to 3610542890 bcachefs: Convert to skcipher interface for chacha20 2017-05-05 04:28:45 -08:00
Kent Overstreet
e004b95b88 fix sync writes - don't use O_EXCL 2017-05-05 00:27:50 -08:00
Kent Overstreet
5db58a0bae Update bcachefs sources to fb365e1745 2017-04-24 09:48:35 -08:00
Kent Overstreet
e41920e603 Use aio 2017-04-23 22:05:31 -08:00
Kent Overstreet
c35fbbc025 Update bcachefs sources to 2e70771b8d 2017-04-23 22:00:36 -08:00
Kent Overstreet
1b495cf9e1 Update bcachefs sources to 846600a41b 2017-04-15 02:42:29 -08:00
Kent Overstreet
5c7454176e cmd_list improvements; use %m 2017-04-14 20:40:50 -08:00
Kent Overstreet
819f2dde79 Update bcachefs sources to f026e4e024 2017-04-14 20:40:31 -08:00
Kent Overstreet
03bc9d71b1 Update bcachefs sources to 3b4024f944 2017-04-10 21:37:18 -08:00
Kent Overstreet
e394bd4ba3 silence a compiler warning 2017-04-10 00:33:58 -08:00
Kent Overstreet
e783d814e8 Update bcachefs sources to da037866e6 2017-04-09 20:12:37 -08:00
Kent Overstreet
2615d73a74 Allow disk commands to specify member by index 2017-04-05 18:20:50 -08:00
Kent Overstreet
bc85a94114 add -i to cmd_list 2017-04-05 17:30:17 -08:00
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