Commit Graph

169 Commits

Author SHA1 Message Date
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
b0c9ad15f4 Update bcachefs sources to 171da96d76 bcachefs: Drop some anonymous structs, unions 2023-03-04 23:33:25 -05:00
Kent Overstreet
da6a356895 Update bcachefs sources to 8e1519ccb6 bcachefs: Add tracepoint & counter for btree split race
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2023-02-20 20:03:34 -05:00
Kent Overstreet
46a6b9210c Update bcachefs sources to 1b14994029 bcachefs: Fragmentation LRU 2023-02-17 17:51:22 -05:00
Kent Overstreet
e160e9b979 Update bcachefs sources to 3e0c5b0722 fixup! bcachefs: Btree write buffer 2023-02-12 21:41:03 -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
177f05106c Update bcachefs sources to 2e8463c770 bcachefs: Rework lru btree 2022-12-19 18:31:44 -05:00
Kent Overstreet
787768043d Update bcachefs sources to de3b30303e bcachefs: bucket_gens btree 2022-12-02 21:55:01 -05:00
Kent Overstreet
3867739e56 Update bcachefs sources to be2d60d948 bcachefs: New magic number 2022-12-02 19:48:23 -05:00
Kent Overstreet
c1f55a60c4 Update bcachefs sources to 6406e05835 bcachefs: Nocow support 2022-11-18 18:21:11 -05:00
Kent Overstreet
ae43a58d97 Update bcachefs sources to 70fa0c1ff4 fixup! bcachefs: Btree key cache improvements 2022-10-23 18:24:08 -04:00
Kent Overstreet
188b6d0c8e Update bcachefs sources to cd779e0cc5 bcachefs: Skip inode unpack/pack in bch2_extent_update() 2022-10-22 14:41:54 -04:00
Kent Overstreet
8d6138baac Update bcachefs sources to cbccc6d869 bcachefs: Ratelimit ec error message 2022-10-09 02:33:05 -04:00
Kent Overstreet
99caca2c70 Update bcachefs sources to 24c6361e20 bcachefs: Fix a trans path overflow in bch2_btree_delete_range_trans()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
2022-09-28 11:41:03 -04:00
Kent Overstreet
d01f633041 Update bcachefs sources to 176718966e bcachefs: Re-enable hash_redo_key() 2022-09-04 14:42:05 -04:00
Kent Overstreet
319abbc653 Update bcachefs sources to 2f4e24d856 bcachefs: Split out dev_buckets_free() 2022-06-15 14:58:36 -04:00
Kent Overstreet
3a0ae34333 Update bcachefs sources to c76f7e91e8 bcachefs: Fix btree node read retries 2022-06-14 01:44:59 -04:00
Kent Overstreet
f682263a73 Update bcachefs sources to 600598598b bcachefs: Also log overwrites in journal 2022-06-05 17:42:24 -04:00
Kent Overstreet
46b2c553aa Update bcachefs sources to fad6d13aa5 fixup! bcachefs: Add persistent counters 2022-05-30 23:24:10 -04:00
Kent Overstreet
03ed64edc8 Update bcachefs sources to 969fbff4ef bcachefs: Print message on btree node read retry success 2022-05-26 17:47:22 -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
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
70f2681838 Update bcachefs sources to 5e392aed7a bcachefs: Kill bch2_alloc_write() 2022-03-31 16:57:08 -04:00
Kent Overstreet
74148a8ee5 Update bcachefs sources to 0e705f5944 fixup! bcachefs: Refactor bch2_btree_node_mem_alloc() 2022-03-21 02:13:02 -04:00
Kent Overstreet
3765483ff0 Update bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail tracepoint 2022-03-13 19:21:13 -04:00
Kent Overstreet
c50379128b Update bcachefs sources to aa439f3b94 bcachefs: btree_gc no longer uses main in-memory bucket array 2022-01-01 21:22:41 -05:00
Kent Overstreet
d08291637f Update bcachefs sources to 9d28e4a535 bcachefs: bch2_journal_entry_to_text() 2022-01-01 21:14:28 -05:00
Kent Overstreet
38f8daa2b1 Update bcachefs sources to 078a1a596a bcachefs: Optimize bucket reuse 2021-12-28 15:03:54 -05:00
Kent Overstreet
55e3496d06 Rename --group to --label
Disk labels used to be called groups - not all uses had been converted.
This renames --group to --label, and --label to --fs_label

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-12-10 13:32:35 -05:00
Kent Overstreet
9a058f1428 Update bcachefs sources to 70b5fb5daf bcachefs: Fix error reporting from bch2_journal_flush_seq 2021-11-16 09:12:15 -05:00
Kent Overstreet
5b84952401 Update bcachefs sources to 6d9ff21de7 bcachefs: Kill journal buf bloom filter 2021-11-05 15:08:36 -04:00
Kent Overstreet
6f8750c30e Update bcachefs sources to b1899a0bd9 bcachefs: Move bch2_evict_subvolume_inodes() to fs.c 2021-10-28 16:27:01 -04:00
Kent Overstreet
f9f57789de Update bcachefs sources to 6d1f979bc5 bcachefs: Subvol dirents are now only visible in parent subvol 2021-10-21 14:20:03 -04:00
Kent Overstreet
a2b0239593 Update bcachefs sources to 718df3f7c2 bcachefs: Fix restart handling in for_each_btree_key() 2021-10-21 13:09:39 -04:00
Kent Overstreet
7fa98d93f6 Update bcachefs sources to 4dd9a5a488 bcachefs: Fix for leaking of reflinked extents 2021-10-20 13:43:31 -04:00
Kent Overstreet
f10fc03854 Update bcachefs sources to 720f644e63 bcachefs: Improve reflink repair code 2021-10-19 13:50:45 -04:00
Kent Overstreet
2b8c1fc5c9 Update bcachefs sources to 710cd382bf bcachefs: Fix for leaking of reflinked extents 2021-10-14 11:22:05 -04:00
Kent Overstreet
49ba8d0ef6 Update bcachefs sources to 6c5219caf0 bcachefs: Rev the on disk format version for snapshots 2021-09-27 13:32:44 -04:00
Kent Overstreet
e61b61c03b Update bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletion 2021-09-26 19:50:47 -04:00
Kent Overstreet
646aabf327 Update bcachefs sources to 0a9be96b50 bcachefs: BSET_OFFSET() 2021-07-16 12:58:24 -04:00
Kent Overstreet
669fc107c6 Update bcachefs sources to 15178a6479 bcachefs: Update btree ptrs after every write 2021-07-15 21:42:36 -04:00
Kent Overstreet
86bd5c622c Update bcachefs sources to 787de128a5 bcachefs: Improvements to fsck check_dirents() 2021-07-14 20:31:38 -04:00
Kent Overstreet
050d5f7bcf Update bcachefs sources to 3693b2ca83 fixup! bcachefs: More topology repair code 2021-07-08 12:14:49 -04:00
Kent Overstreet
347c0b108e Update bcachefs sources to dbee44d5ab bcachefs: add bcachefs xxhash support 2021-07-07 20:30:53 -04:00
Kent Overstreet
b61ad35b97 Update bcachefs sources to 3913e0cac3 bcachefs: Journal space calculation fix 2021-05-31 15:05:33 -04:00
Kent Overstreet
edc3ffe8f2 Update bcachefs sources to 8d3093bd9b bcachefs: Evict btree nodes we're deleting 2021-04-26 20:18:47 -04:00
Kent Overstreet
209695dedf Update bcachefs sources to f26267fc82 bcachefs: kill bset_tree->max_key 2021-04-04 22:15:29 -04:00
Kent Overstreet
a2094890a9 Update bcachefs sources to 18686af684 bcachefs: Inode backpointers 2021-03-29 00:22:38 -04:00
Kent Overstreet
9f69a652dc Update bcachefs sources to c7defb5793 bcachefs: Split btree_iter_traverse and bch2_btree_iter_traverse() 2021-03-24 19:26:47 -04:00
Kent Overstreet
11098ae37a Update bcachefs sources to 0a9f0fc68a bcachefs: Don't unconditially version_upgrade in initialize 2021-03-21 16:44:44 -04:00
Kent Overstreet
aa0ddf3cf9 Update bcachefs sources to 242d37cbd0 bcachefs: Kill btree_iter_pos_changed() 2021-03-16 21:46:18 -04:00
Kent Overstreet
e7c4380a89 Update bcachefs sources to 63924135a1 bcachefs: Have fsck check for stripe pointers matching stripe 2021-03-12 16:56:43 -05:00
Kent Overstreet
9e5d774875 Update bcachefs sources to e2b8120595 bcachefs: Use x-macros for more enums 2021-02-20 22:34:09 -05:00
Kent Overstreet
b64369c59f Update bcachefs sources to 9b77e72c47 bcachefs: Extents may now cross btree node boundaries 2021-02-20 03:28:11 -05:00
Kent Overstreet
4064aa126e Update bcachefs sources to 26409a8f75 bcachefs: Journal updates to dev usage 2021-02-02 16:07:59 -05:00
Kent Overstreet
7740db24f7 Update bcachefs sources to bee34d805c bcachefs: Repair bad data pointers 2021-01-28 16:16:51 -05:00
Kent Overstreet
f39f0bde78 Update bcachefs sources to fcf8a0889c bcachefs: bch2_alloc_write() should be writing for all devices 2021-01-08 21:33:27 -05:00
Kent Overstreet
80846e9c28 Update bcachefs sources to 5241335413 bcachefs: Fix for spinning in journal reclaim on startup 2020-12-19 18:05:09 -05:00
Kent Overstreet
db931a4571 Update bcachefs sources to e1d0fb8c5f bcachefs: Don't require flush/fua on every journal write 2020-12-04 13:45:33 -05:00
Kent Overstreet
d2a118d921 Update bcachefs sources to 1d669389f7 bcachefs: use a radix tree for inum bitmap in fsck 2020-11-07 13:09:23 -05:00
Kent Overstreet
96f4a81a01 Update bcachefs sources to 13bb4cdf89 bcachefs: Indirect inline data extents 2020-10-24 21:01:26 -04:00
Kent Overstreet
37270fc79c Update bcachefs sources to ff83eed5f5 bcachefs: Fix bch2_mark_stripe() 2020-10-23 18:43:51 -04:00
Kent Overstreet
cd9892e543 Update bcachefs sources to 10ab39f2fa bcachefs: Improvements to the journal read error paths 2020-08-24 16:25:05 -04:00
Kent Overstreet
1952c0790c Update bcachefs sources to c9b4a210f9 fixup! bcachefs: Fixes for going RO 2020-06-03 19:56:33 -04:00
Kent Overstreet
34c9be19b3 Update bcachefs sources to e1f6739c4a bcachefs: Fix another iterator counting bug 2020-05-14 21:48:52 -04:00
Yuxuan Shui
5bc48bd428
Fix building on musl
* Add missing linux/stddef.h includes
* Explicitly cast PAGE_SIZE to size_t. PAGE_SIZE is defined without UL
  suffix in musl
* Musl doesn't define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP, so
  initialize the mutexes with pthread_once.
2020-05-05 10:29:31 +01:00
Kent Overstreet
fad8236b81 Update bcachefs sources to 275cba438e bcachefs: Fix inodes pass in fsck 2020-03-30 14:34:20 -04:00
Kent Overstreet
8bcd38555c Update bcachefs sources to fd637ebda0 bcachefs: Journal updates to interior nodes 2020-03-25 15:56:38 -04:00
Kent Overstreet
2286a79ccb Update bcachefs sources to d9bb516b2d bcachefs: Move extent overwrite handling out of core btree code 2020-03-15 20:24:57 -04:00
Kent Overstreet
dbb99e492d Update bcachefs sources to 1210f6c925 bcachefs: BCH_SB_FEATURES_ALL 2020-02-26 19:12:07 -05:00
Kent Overstreet
7c4552717f Update bcachefs sources to 9017d85854 bcachefs: btree_ptr_v2 2020-02-22 16:21:32 -05:00
Kent Overstreet
e0eb64c846 Update bcachefs sources to 3cd63315a6 bcachefs: Track incompressible data 2020-01-21 17:24:32 -05:00
Kent Overstreet
fec2d17f20 Update bcachefs sources to 1569db10e2 bcachefs: Use KEY_TYPE_deleted whitouts for extents 2019-12-28 20:34:36 -05:00
Kent Overstreet
f0d907189f Update bcachefs sources to 86a99a7b7f bcachefs: Convert some enums to x-macros 2019-12-28 20:31:39 -05:00
Kent Overstreet
f026d7cc81 Update bcachefs sources to 5d7142b75a bcachefs: Redo filesystem usage ioctls 2019-12-18 16:11:04 -05:00
Kent Overstreet
8c20176f2c Update bcachefs sources to d372ddcbfa bcachefs: Reorganize extents.c 2019-11-17 20:36:59 -05:00
Kent Overstreet
7f3557f57e Update bcachefs sources to 7e03c1ab0e bcachefs: Kill bchfs_extent_update() 2019-10-10 18:06:44 -04:00
Kent Overstreet
b540b170c9 Update bcachefs sources to cddca21efc bcachefs: Don't use sha256 for siphash str hash key 2019-10-04 16:22:37 -04:00
Kent Overstreet
db39aa3e1b Update bcachefs sources to 5a3a4087af bcachefs: Convert a BUG_ON() to a warning 2019-09-25 15:23:50 -04:00
Kent Overstreet
72a408f848 Update bcachefs sources to ece184f718 bcachefs: Reflink 2019-08-21 13:19:36 -04:00
Kent Overstreet
f96ba8e0aa Update bcachefs sources to b91a514413 bcachefs: Don't try to delete stripes when RO 2019-07-11 12:00:51 -04:00
Kent Overstreet
b485aae1ba Update bcachefs sources to 6f603b8d79 bcachefs: some improvements to startup messages and options 2019-04-17 19:00:38 -04:00
Kent Overstreet
d13bbb2955 Update bcachefs sources to d83b992f65 bcachefs: Rewrite journal_seq_blacklist machinery 2019-04-04 22:25:40 -04:00
Kent Overstreet
be02db130b Update bcachefs sources to 1712318522 bcachefs: allow journal reply on ro mount 2019-03-29 17:35:44 -04:00
Kent Overstreet
a4eb187a6f Update bcachefs sources to 75e8a078b8 bcachefs: improved flush_held_btree_writes() 2019-02-28 22:33:41 -05:00
Kent Overstreet
17c5215c1c Update bcachefs sources to 09a5465430 bcachefs: Don't need to walk inodes on clean shutdown 2019-02-09 19:54:14 -05:00
Kent Overstreet
f9ba96e165 Update bcachefs sources to 57ea7773cb bcachefs: Fix duplicate ioctl nr 2018-12-17 09:26:29 -05:00
Kent Overstreet
a10a41fa2b Update bcachefs sources to f7670cba39 bcachefs: Fix for building in userspace 2018-12-12 06:25:37 -05:00
Kent Overstreet
0c7db4eca3 Update bcachefs sources to 62de7539dc bcachefs: Make bkey types globally unique 2018-11-30 12:51:13 -05:00
Kent Overstreet
bca8b084ad Update bcachefs sources to da7fefde29 bcachefs: shim for userspace raid library 2018-11-23 03:05:20 -05:00
Kent Overstreet
cc6479303f Update bcachefs sources to a9f14c773f bcachefs: More btree gc refactorings 2018-11-12 19:22:36 -05:00
Kent Overstreet
db8cffeaed Update bcachefs sources to 8bf4b038d4 bcachefs: Assorted fixes for running on very small devices 2018-11-04 22:21:00 -05:00
Kent Overstreet
2ab2ab0f78 Update bcachefs sources to b12d1535f3 bcachefs: fix bounds checks in bch2_bio_map() 2018-11-03 20:19:25 -04:00
Kent Overstreet
cef2f30ae2 Update bcachefs sources to 15f6e66e86 bcachefs: pass around bset_tree less 2018-08-15 20:00:21 -04:00
Kent Overstreet
76a549d82d Update bcachefs sources to eab3b355cf bcachefs: trace transaction restarts 2018-07-16 04:00:44 -04:00
Kent Overstreet
17e2f2775b Update bcachefs sources to 2cb70a82bc bcachefs: delete some debug code 2018-06-27 14:50:43 -04:00
Kent Overstreet
ff86d47221 Update bcachefs sources to 0906b1fb49 bcachefs: fixes for 32 bit/big endian machines 2018-05-17 02:36:19 -04:00
Kent Overstreet
018de5aa89 Update bcachefs sources to ed4aea2ad4 bcachefs: fix gcc warning 2018-05-04 14:05:32 -04:00
Kent Overstreet
c598d91dcb Update bcachefs sources to edf5f38218 bcachefs: Refactor superblock code 2018-04-10 19:23:58 -04:00