Kent Overstreet
9cc3b7debb
Unit handling cleanups
...
The option code has been switching to keeping things in display units -
bytes - and this transitions more libbcachefs.c code to bytes as well,
to match, and also fixes device add.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2022-01-01 21:14:22 -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
42ba8b5a75
Update bcachefs sources to 5fd0c70102 bcachefs: Fix __remove_dirent()
2021-11-03 21:28:23 -04:00
Kent Overstreet
0da2d968eb
Update bcachefs sources to 043cfba30c fixup! bcachefs: Improve transaction restart handling in fsck code
2021-11-01 06:39:12 -04:00
Kent Overstreet
a315a3f664
Update bcachefs sources to 82c5cc8f00 bcachefs: Improve transaction restart handling in fsck code
2021-10-28 16:50:03 -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
1ce6454cfe
Update bcachefs sources to cdf89ca564 bcachefs: Fix fsck path for refink pointers
2021-10-24 21:24:05 -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
3db6ec44c5
Update bcachefs sources to d9d1235f3c bcachefs: Handle transaction restarts in bch2_blacklist_entries_gc()
2021-10-20 12:36:50 -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
e489658c49
Update bcachefs sources to 07c2895cb3 bcachefs: Add a valgrind memcheck hint
2021-10-13 11:00:02 -04:00
Kent Overstreet
ba69a1b1c4
Update bcachefs sources to 0762d9c294 bcachefs: Fix check_inode_update_hardlinks()
2021-09-30 11:10:49 -04:00
Kent Overstreet
e61b61c03b
Update bcachefs sources to 386f00b639 bcachefs: Snapshot creation, deletion
2021-09-26 19:50:47 -04:00
Kent Overstreet
2b8c1bb091
Update bcachefs sources to 3f3f969859 bcachefs: Fix some compiler warnings
2021-09-09 19:10:07 -04:00
Kent Overstreet
f06b01e9ea
Update bcachefs sources to b964c6cba8 bcachefs: Change lockrestart_do() to always call bch2_trans_begin()
2021-07-28 17:26:50 -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
55142cd0b5
Update bcachefs sources to ca3cfad39f fixup! bcachefs: Improve iter->should_be_locked
2021-06-23 15:53:37 -04:00
Kent Overstreet
58ae103b0a
Update bcachefs sources to e3a7cee503 bcachefs: Don't mark superblocks past end of usable space
2021-06-08 22:55:14 -04:00
Kent Overstreet
09021c38d3
Update bcachefs sources to ac3ab6a511 bcachefs: Fix an uninitialized var
2021-05-20 20:47:55 -04:00
Kent Overstreet
2e2d5a3f7e
Update bcachefs sources to 0cd3e1d27a bcachefs: Fix for bch2_bkey_pack_pos() not initializing len/version fields
2021-05-17 16:48:48 -04:00
Kent Overstreet
a76f36fc6e
Update bcachefs sources to ae6f512de8 bcachefs: Fix out of bounds read in fs usage ioctl
2021-05-15 14:43:26 -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
f87850496e
Update bcachefs sources to 3c41353bc1 bcachefs: Fix bch2_verify_keylist_sorted
2021-04-24 01:37:09 -04:00
Kent Overstreet
ceac31bcb6
Update bcachefs sources to fe72e70682 bcachefs: Fix for btree_gc repairing interior btree ptrs
2021-04-19 21:26:48 -04:00
Kent Overstreet
8ba5e814fd
Fix some small memory leaks
...
Found with -fsanitize=leak
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2021-04-16 17:28:40 -04:00
Kent Overstreet
967c870498
Update bcachefs sources to 8eca47e4d5 bcachefs: Improved check_directory_structure()
2021-04-13 10:24:15 -04:00
Kent Overstreet
b422ff58ba
Update bcachefs sources to a8b3ce7599 fixup! bcachefs: Eliminate more PAGE_SIZE uses
2021-04-12 11:48:45 -04:00
Kent Overstreet
40e14938ee
Update bcachefs sources to 9922afc8b6 bcachefs: Add repair code for out of order keys in a btree node.
2021-03-29 00:22:49 -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
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
a437f5fc84
Update bcachefs sources to 199bfbed8a lib/generic-radix-tree.c: Don't overflow in peek()
2021-02-12 21:43:09 -05:00
Kent Overstreet
868abec1ab
Update bcachefs sources to 5e73602f6c bcachefs: Fix for fsck hanging
2021-02-12 16:02:52 -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
dd707c9bfd
Update bcachefs sources to 0010403265 bcachefs: Fix spurious alloc errors on forced shutdown
2020-12-03 13:13:53 -05:00
Kent Overstreet
1e574cb1aa
Update bcachefs sources to 021e62a098 bcachefs: Fix error in filesystem initialization
2020-11-30 00:06:46 -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
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
fad8236b81
Update bcachefs sources to 275cba438e bcachefs: Fix inodes pass in fsck
2020-03-30 14:34:20 -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
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
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
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
54fc3909b4
Update bcachefs sources to a8faf2472b bcachefs: Update directory timestamps during link
2019-12-18 15:30:16 -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
Kent Overstreet
6016d33b80
Update bcachefs sources to 9e76e8d98c bcachefs: Fix uninitialized field in hash_check_init()
2019-11-04 12:53:59 -05: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
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
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
7e35389599
Update bcachefs sources to f38382c574 bcachefs: Improve key marking interface
2019-05-24 11:58:42 -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
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
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
bdba182d10
Update bcachefs sources to d7dbddc450 bcachefs: revamp to_text methods
2018-11-09 04:06:53 -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
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
bb6f4111fb
Update bcachefs sources to 9abf628c70 bcachefs: Fix a spurious error in fsck
2018-06-01 17:33:19 -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
99adc23cf6
Update bcachefs sources to 0e765bc37c bcachefs: foreground merging of interior btree nodes
2018-02-05 00:31:32 -05:00
Kent Overstreet
7c29c458db
Update bcachefs sources to 2834633e12 bcachefs: fix ioctls that set inode flags
2018-01-21 16:39:23 -05:00
Kent Overstreet
4de98a2712
Update bcachefs sources to 02ae70070a bcachefs: Allocate new btree roots lazily
2018-01-11 07:02:08 -05:00
Kent Overstreet
1cf4d51dc4
Update bcachefs sources to 14ce2a2031 bcachefs: fixes for building in userspace
2017-12-21 18:06:45 -05:00
Kent Overstreet
8351bbc05b
Update bcachefs sources to d4b7ef921a bcachefs: Refactoring
2017-11-08 16:01:26 -09:00
Kent Overstreet
85ee972555
Update bcachefs sources to e82e656279 bcachefs: Cleanups for building in userspace
2017-10-08 10:25:33 -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
819f2dde79
Update bcachefs sources to f026e4e024
2017-04-14 20:40:31 -08:00