Commit Graph

35 Commits

Author SHA1 Message Date
Kent Overstreet
b5fd066153 Move c_src dirs back to toplevel
We just wanted c sourcefiles out of the top level, not c source
directories.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16 17:17:23 -05:00
Thomas Bertschinger
f5baaf48e3 move Rust sources to top level, C sources into c_src
This moves the Rust sources out of rust_src/ and into the top level.
Running the bcachefs executable out of the development tree is now:

$ ./target/release/bcachefs command
or
$ cargo run --profile release -- command

instead of "./bcachefs command".

Building and installing is still:

$ make && make install

Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2024-01-16 01:47:05 -05:00
Kent Overstreet
f76d246fff Update bcachefs sources to 1a739db0b256 bcachefs; guard against overflow in btree node split
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-12-18 23:21:21 -05:00
Kent Overstreet
46d5160869 Update bcachefs sources to eb83f1f842bb mean and variance: Promote to lib/math 2023-11-29 22:00:41 -05:00
Kent Overstreet
97c86db4f2 Update bcachefs sources to feaca6edbd24 mean and variance: Promote to lib/math
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-27 21:04:03 -05:00
Kent Overstreet
3a0cc86e76 Update bcachefs sources to 8c94740b1bf8 bcachefs: Add missing vaidation for jset_entry_data_usage 2023-11-25 21:51:30 -05:00
Kent Overstreet
7fd6c3ffe4 Update bcachefs sources to 3ca08ab51ec9 bcachefs: six locks: Simplify optimistic spinning
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-11-12 20:57:28 -05:00
Kent Overstreet
8eaf8ddf45 Update bcachefs sources to 7250b2ee5574 bcachefs: Fix deleted inodes btree in snapshot deletion 2023-10-27 16:43:11 -04:00
Kent Overstreet
a053ebfb8c Update bcachefs sources to f9c612bbf82d bcachefs: Fixes for building in userspace
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-09-23 20:03:23 -04:00
Kent Overstreet
44fc32e7ef Update bcachefs sources to ee560a3929 bcachefs: Print version, options earlier in startup path 2023-07-20 18:09:44 -04:00
Kent Overstreet
5d507f795b Update bcachefs sources to da7d42a9a2 bcachefs: Add new assertions for shutdown path
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-09 15:25:40 -04:00
Kent Overstreet
c99a444c5c Update bcachefs sources to 25de2b00dc bcachefs: Change check for invalid key types
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-07-07 04:25:07 -04:00
Kent Overstreet
cfa816bf3f Update bcachefs sources to 84f132d569 bcachefs: fsck: Break walk_inode() up into multiple functions
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-06-27 19:38:18 -04:00
Kent Overstreet
6b1f79d5df Update bcachefs sources to 6a20aede29 bcachefs: Fix quotas + snapshots
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-05-02 00:41:47 -04:00
Kent Overstreet
7f102ee83d Update bcachefs sources to 8fd009dd76 bcachefs: Rip out code for storing backpointers in alloc keys
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-03-31 18:02:57 -04:00
Kent Overstreet
30cca2e94d Update bcachefs sources to ca97ee3577 bcachefs: bch2_btree_iter_peek_and_restart_outlined()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-27 21:36:36 -05:00
Kent Overstreet
46a6b9210c Update bcachefs sources to 1b14994029 bcachefs: Fragmentation LRU 2023-02-17 17:51:22 -05:00
Kent Overstreet
a104f0407b Update bcachefs sources to ea93c26e98 fixup! bcachefs: We can handle missing btree roots for all alloc btrees
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-09 18:36:24 -05:00
Kent Overstreet
e314b39c63 Update bcachefs sources to 0939e1c732 fixup! bcachefs: Rework lru btree 2022-12-19 22:24:41 -05:00
Kent Overstreet
177f05106c Update bcachefs sources to 2e8463c770 bcachefs: Rework lru btree 2022-12-19 18:31:44 -05:00
Kent Overstreet
0c98cd7bf6 Update bcachefs sources to eabde7cb37 fixup! bcachefs: Optimize bch2_alloc_to_v4() 2022-11-30 10:41:00 -05:00
Kent Overstreet
5a5a6c25a9 Update bcachefs sources to 8a65cc4951 bcachefs: Improve bch2_dev_freespace_init() 2022-11-29 01:15:08 -05:00
Kent Overstreet
f1f88825c3 Update bcachefs sources to ea47add37d bcachefs: More errcode cleanup 2022-11-20 00:15:11 -05:00
Kent Overstreet
ddac1641ee Update bcachefs sources to 90a9c61e2b bcachefs: Switch bch2_btree_delete_range() to bch2_trans_run() 2022-08-11 17:34:34 -04:00
Kent Overstreet
0e69c66198 Update bcachefs sources to 17a344f265 bcachefs: Improve fsck for subvols/snapshots 2022-07-15 17:24:21 -04:00
Kent Overstreet
6ac37db841 Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods 2022-06-09 15:07:25 -04:00
Kent Overstreet
8cc7d49281 cmd_unlock: Add -k argument to specify keyring
This adds a new argument (-k) to cmd_unlock for specifying the keyring
to add to. The default is user, but user_session and session can also be
specified.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-05-19 16:01:51 -04:00
Kent Overstreet
6f5afc0c12 Update bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf bloom filter 2022-05-02 18:42:06 -04:00
Kent Overstreet
04ad4ade4c Update bcachefs sources to fb8a27f6d4 bcachefs: Delete a redundant tracepoint 2022-04-11 22:40:16 -04:00
Kent Overstreet
2668cb95d9 Update bcachefs sources to 202b20c48f bcachefs: Ensure buckets have io_time[READ] set 2022-04-10 20:02:24 -04:00
Kent Overstreet
5ee3f4d7b2 Update bcachefs sources to ad72553649 bcachefs: Fix a null ptr deref 2022-04-10 14:41:57 -04:00
Kent Overstreet
7f77afa955 Update bcachefs sources to d3da360412 bcachefs: Fold bucket_state in to BCH_DATA_TYPES() 2022-04-07 20:56:33 -04:00
Kent Overstreet
790ca9522a Update bcachefs sources to e027cf9aa0 fixup! bcachefs: Defer checking of alloc -> lru refs until after RW 2022-04-06 14:13:15 -04:00
Kent Overstreet
70f2681838 Update bcachefs sources to 5e392aed7a bcachefs: Kill bch2_alloc_write() 2022-03-31 16:57:08 -04:00
Kent Overstreet
3765483ff0 Update bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail tracepoint 2022-03-13 19:21:13 -04:00