Commit Graph

193 Commits

Author SHA1 Message Date
Kent Overstreet
0243e4d41c Update bcachefs sources to b1708f0191 bcachefs: Fix a null ptr deref in bch2_btree_iter_traverse_one() 2020-06-26 14:51:58 -04:00
Kent Overstreet
f8f84d9388 Update bcachefs sources to 8a316f4112 bcachefs: Give bkey_cached_key same attributes as bpos 2020-06-15 17:00:02 -04:00
Kent Overstreet
05408b6f8f Update bcachefs sources to 4837f82ee1 bcachefs: Use cached iterators for alloc btree 2020-06-15 16:27:19 -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
5d6e237b72 Update bcachefs sources to a27d7265e7 bcachefs: Fix a debug mode assertion 2020-04-04 16:48:39 -04:00
Kent Overstreet
a62d8713f8 Update bcachefs sources to 7bfc741f64 bcachefs: Fix a null ptr deref during journal replay 2020-04-04 13:59:13 -04:00
Kent Overstreet
c452666fb3 Update bcachefs sources to a897b0f199 bcachefs: Fix a locking bug 2020-03-30 17:46:47 -04: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
2aed686c23 Update bcachefs sources to 96b991466a bcachefs: Improve error message in fsck 2020-03-25 17:59:36 -04:00
Kent Overstreet
517440cc98 Update bcachefs sources to 76f72a0cc7 bcachefs: Improve error message in fsck 2020-03-25 16:15:56 -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
096f2ec00e Update bcachefs sources to 3592e42edf bcachefs: Shut down quicker 2020-03-18 11:49:11 -04:00
Kent Overstreet
d488efb9d9 Update bcachefs sources to b47904df3c bcachefs: Clear BCH_FEATURE_extents_above_btree_updates on clean shutdown 2020-03-17 12:45:17 -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
96a6a5a58f Update bcachefs sources to 7e07e19c29 bcachefs: Traverse iterator in journal replay 2020-03-09 16:27:23 -04:00
Kent Overstreet
2d238045d3 Update bcachefs sources to 4a4139a563 bcachefs: Fix extent_sort_fix_overlapping() 2020-03-02 17:10:54 -05: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
ab2f1ec24f Update bcachefs sources to d763e8ab17 bcachefs: Don't lose needs_whiteout in overwrite path 2020-01-06 13:49:52 -05:00
Kent Overstreet
3046915927 Update bcachefs sources to c9eb15545d bcachefs: Don't call trans_iter_put() on error pointer 2020-01-04 19:24:13 -05:00
Kent Overstreet
306cf00818 Update bcachefs sources to aae76fba15 bcachefs: Use KEY_TYPE_deleted whitouts for extents 2019-12-29 11:15:34 -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
82c7e8ff35 Update bcachefs sources to cfb41d25c7 bcachefs: Add an assertion to track down a heisenbug 2019-12-28 18:20:16 -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
54fc3909b4 Update bcachefs sources to a8faf2472b bcachefs: Update directory timestamps during link 2019-12-18 15:30:16 -05:00
Kent Overstreet
f7566516de Update bcachefs sources to adfbb84c7c fixup! bcachefs: Fix bch2_verify_insert_pos() 2019-12-16 17:36:24 -05:00
Kent Overstreet
92d34f6ed2 Update bcachefs sources to fbb669e9de bcachefs: Kill btree_node_iter_large 2019-12-16 14:42:09 -05:00
Kent Overstreet
8c20176f2c Update bcachefs sources to d372ddcbfa bcachefs: Reorganize extents.c 2019-11-17 20:36:59 -05:00
Kent Overstreet
1f7098c222 Update bcachefs sources to b1a4dc53be bcachefs: Set lost+found mode to 0700 2019-11-09 22:49:03 -05:00
Justin Husted
f597e81aab Temporary fix for lost+found file permission.
lost+found should not be group or world readable. This is a staging fix
pending merge with the kernel tree.

Signed-off-by: Justin Husted <sigstop@gmail.com>
2019-11-09 19:05:24 -08:00
Kent Overstreet
6016d33b80 Update bcachefs sources to 9e76e8d98c bcachefs: Fix uninitialized field in hash_check_init() 2019-11-04 12:53:59 -05:00
Justin Husted
36e4b3147e Temporary import of valgrind fixes for bcachefs branch. 2019-11-03 23:17:43 -05:00
Justin Husted
bf7574260c Add better valgrind support for journal write buffers. 2019-11-03 23:17:43 -05:00
Kent Overstreet
3c810611c1 Update bcachefs sources to fc4f1d59cf bcachefs: Fix an iterator counting bug 2019-10-16 14:13:07 -04:00
Kent Overstreet
6e696ea087 Update bcachefs sources to de906c3e2e bcachefs: Fix iterator counting for reflink pointers (again) 2019-10-12 14:49:11 -04:00
Kent Overstreet
cec69929f0 Update bcachefs sources to d0625a4418 bcachefs: Fix creation of lost+found 2019-10-11 15:04:27 -04:00
Kent Overstreet
7f3557f57e Update bcachefs sources to 7e03c1ab0e bcachefs: Kill bchfs_extent_update() 2019-10-10 18:06:44 -04:00
Kent Overstreet
62f5e4fa67 Update bcachefs sources to ce9293e9d0 bcachefs: Factor out fs-common.c 2019-10-04 16:26:48 -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
7f69c4161c Update bcachefs sources to 380885b0b8 bcachefs: Fix counting iterators for reflink pointers 2019-10-01 16:30:36 -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
aa2a42b0a6 Update bcachefs sources to fee79cd654 bcachefs: Fix BTREE_INSERT_NOMARK_OVERWRITES 2019-08-29 13:32:04 -04:00
Kent Overstreet
68963f1816 Update bcachefs sources to 0d627739e9 bcachefs: Improve pointer marking checks and error messages 2019-08-29 11:44:11 -04:00
Kent Overstreet
92fc14824f Update bcachefs sources to 05ef7000f2 bcachefs: Switch reconstruct_alloc to a mount option 2019-08-28 13:43:42 -04:00
Kent Overstreet
e6e7d374e7 Update bcachefs sources to bfb7133d71 bcachefs: Refactor bch2_alloc_write() 2019-08-28 11:09:35 -04:00
Kent Overstreet
c8322ce68c Update bcachefs sources to 4ed63a3241 bcachefs: Trust in memory bucket mark 2019-08-28 00:31:57 -04:00
Kent Overstreet
cc41f52bcc Update bcachefs sources to 14f68409be bcachefs: Optimize fiemap 2019-08-27 17:37:03 -04:00
Kent Overstreet
72a408f848 Update bcachefs sources to ece184f718 bcachefs: Reflink 2019-08-21 13:19:36 -04:00
Kent Overstreet
692eadd6ca Update bcachefs sources to 22776fe990 bcachefs: Convert some assertions to fsck errors 2019-07-13 13:10:00 -04:00
Kent Overstreet
08021fd550 Update bcachefs sources to b5fff15213 bcachefs: Fix ec_stripes_read() 2019-07-12 17:11:10 -04:00
Kent Overstreet
33c91e2ff4 Update bcachefs sources to 44dc1f2695 bcachefs: Fix stripe_idx_to_delete() 2019-07-11 12:46:42 -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
34b9374705 Update bcachefs sources to 7e42539c80 bcachefs: Don't overflow stack in bch2_extent_merge_inline() 2019-05-29 20:06:53 -04:00
Kent Overstreet
7e35389599 Update bcachefs sources to f38382c574 bcachefs: Improve key marking interface 2019-05-24 11:58:42 -04:00
Kent Overstreet
93bdfcb210 Update bcachefs sources to 454bd4f82d bcachefs: Fix for the stripes mark path and gc 2019-05-08 19:13:46 -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
133dfeb648 Update bcachefs sources to d868a87c67 bcachefs: fix initial gc 2019-03-28 05:28:38 -04:00
Kent Overstreet
ddb58076ef Update bcachefs sources to ffe09df106 bcachefs: Verify fs hasn't been modified before going rw 2019-03-24 21:06:58 -04:00
Kent Overstreet
0894d54750 Update bcachefs sources to 986543d24e bcachefs: fix bch2_invalidate_one_bucket2() during journal replay 2019-03-13 17:00:36 -04:00
Kent Overstreet
88da4def1b Update bcachefs sources to 00c04f8485 bcachefs: Fix for shutting down before fs started marking it clean 2019-03-10 14:56:38 -04:00
Kent Overstreet
ed0993c1e2 Update bcachefs sources to ca1a2ff489 bcachefs: Fix for when compressed extent is split during journal replay 2019-03-08 17:36:40 -05:00
Kent Overstreet
83a01d9f07 Update bcachefs sources to c8aa081de3 bcachefs: increase BTREE_ITER_MAX 2019-03-08 17:36:16 -05:00
Kent Overstreet
fd67296247 Update bcachefs sources to 43a464c9dd bcachefs: Don't BUG_ON() on bucket sector count overflow 2019-03-07 16:39:43 -05:00
Kent Overstreet
70bb5ab7a8 Update bcachefs sources to a5e71b8200 bcachefs: Allocator startup fixes/refactoring 2019-03-02 14:45:50 -05:00
Kent Overstreet
35ab359897 Update bcachefs sources to dab980b662 bcachefs: Don't get journal reservation until after we know insert will succeed 2019-03-01 15:52:57 -05: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
35fca2f044 Update bcachefs sources to 99750eab4d bcachefs: Persist stripe blocks_used 2019-01-23 15:53:32 -05:00
Kent Overstreet
8630059e6a Update bcachefs sources to bcca1c557b bcachefs: fixes for getting stuck flushing journal pins 2019-01-14 00:49:02 -05:00
Kent Overstreet
47bd483d27 Update bcachefs sources to ef60854e99 bcachefs: More allocator startup improvements 2019-01-13 20:53:25 -05:00
Kent Overstreet
99ccaf73a8 Update bcachefs sources to 2724e115d2 bcachefs: Lots of option handling improvements 2018-12-19 15:21:54 -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
bdba182d10 Update bcachefs sources to d7dbddc450 bcachefs: revamp to_text methods 2018-11-09 04:06:53 -05:00
Tim Schlueter
770d75e7e5 Update bcachefs sources to 7227ff07f14b Merge pull request #10 from modelrockettier/real_mount_time 2018-11-04 21:14:26 -08: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
19005ecf08 Update bcachefs sources to defaad6d47 bcachefs: Fix an assertion when rebuilding replicas 2018-11-03 22:03:31 -04: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
55fbb25501 Update bcachefs sources to d7f6da1d60 bcachefs: fix missing include 2018-10-12 15:10:26 -04:00
Kent Overstreet
ebf97e8e01 Update bcachefs sources to 446219cb11 bcachefs: Dirent repair code 2018-08-22 03:49:34 -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
75c7148e0a Update bcachefs sources to 940d6ca657 bcachefs: acl code improvements 2018-07-13 00:45:28 -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
bb6f4111fb Update bcachefs sources to 9abf628c70 bcachefs: Fix a spurious error in fsck 2018-06-01 17:33:19 -04:00
Kent Overstreet
426e88e41c Update bcachefs sources to f65603966f bcachefs: drop old includes 2018-05-17 07:24:37 -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
Kent Overstreet
ff5e165532 Update bcachefs sources to 9fc6ccd865 bcachefs: fix copygc_pred() 2018-03-20 03:54:50 -04:00
Kent Overstreet
35d3f92ad5 Update bcachefs sources to f7ccf51390 bcachefs: durability 2018-03-13 03:22:35 -04:00