]>
git.sesse.net Git - bcachefs-tools-debian/log
Kent Overstreet [Mon, 11 Apr 2022 02:29:14 +0000 (22:29 -0400)]
Update bcachefs sources to
2d5e6ec144 fixup! bcachefs: Ensure buckets have io_time[READ] set
Kent Overstreet [Mon, 11 Apr 2022 00:02:24 +0000 (20:02 -0400)]
Update bcachefs sources to
202b20c48f bcachefs: Ensure buckets have io_time[READ] set
Kent Overstreet [Sun, 10 Apr 2022 22:07:55 +0000 (18:07 -0400)]
Update bcachefs sources to
1e6618c45d bcachefs: Improve bch2_open_buckets_to_text()
Kent Overstreet [Sun, 10 Apr 2022 20:29:14 +0000 (16:29 -0400)]
Update bcachefs sources to
1ff261b014 bcachefs: Fix CPU usage in journal read path
Kent Overstreet [Sun, 10 Apr 2022 18:41:57 +0000 (14:41 -0400)]
Update bcachefs sources to
ad72553649 bcachefs: Fix a null ptr deref
Kent Overstreet [Sat, 9 Apr 2022 18:02:54 +0000 (14:02 -0400)]
Update bcachefs sources to
ac53c8857f fixup! bcachefs: Use a genradix for reading journal entries
Kent Overstreet [Fri, 8 Apr 2022 23:19:05 +0000 (19:19 -0400)]
Update bcachefs sources to
6ddf061e68 bcachefs: Use a genradix for reading journal entries
Kent Overstreet [Fri, 8 Apr 2022 00:56:27 +0000 (20:56 -0400)]
Update bcachefs sources to
d3da360412 bcachefs: Fold bucket_state in to BCH_DATA_TYPES()
Kent Overstreet [Thu, 7 Apr 2022 23:25:30 +0000 (19:25 -0400)]
New tool for killing btree nodes on a filesystem
To be used by error injection tests.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Thu, 7 Apr 2022 21:52:51 +0000 (17:52 -0400)]
Update bcachefs sources to
98a1bff393 bcachefs: Topology repair fixes
Kent Overstreet [Wed, 6 Apr 2022 18:43:08 +0000 (14:43 -0400)]
Update bcachefs sources to
d2e0889128 bcachefs: fsck: Work around transaction restarts
Kent Overstreet [Wed, 6 Apr 2022 18:42:00 +0000 (14:42 -0400)]
Update bcachefs sources to
07bac0c685 bcachefs: fsck: Work around transaction restarts
Kent Overstreet [Wed, 6 Apr 2022 18:13:15 +0000 (14:13 -0400)]
Update bcachefs sources to
e027cf9aa0 fixup! bcachefs: Defer checking of alloc -> lru refs until after RW
Kent Overstreet [Mon, 4 Apr 2022 17:48:45 +0000 (13:48 -0400)]
Update bcachefs sources to
91e6c3e0d5 bcachefs: Gap buffer for journal keys
Kent Overstreet [Sat, 2 Apr 2022 20:36:29 +0000 (16:36 -0400)]
Update bcachefs sources to
ab3b6e7dd6 bcachefs: Fix pr_buf() calls
Kent Overstreet [Thu, 31 Mar 2022 20:57:08 +0000 (16:57 -0400)]
Update bcachefs sources to
5e392aed7a bcachefs: Kill bch2_alloc_write()
Kent Overstreet [Thu, 31 Mar 2022 03:20:39 +0000 (23:20 -0400)]
Flush standard output before popping assertions
Seeing error messages before we die generally makes assertions easier to
debug.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Thu, 31 Mar 2022 00:31:28 +0000 (20:31 -0400)]
cmd_list_journal: Tweak for new log entries
We use entry->level to denote which log entries indicate the start of a
transaction - this updates cmd_list_journal to format them correctly.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Wed, 30 Mar 2022 21:40:25 +0000 (17:40 -0400)]
Update bcachefs sources to
f638850417 bcachefs: bch2_trans_log_msg()
Kent Overstreet [Tue, 29 Mar 2022 19:07:28 +0000 (15:07 -0400)]
cmd_list_journal: Make output more readable
This puts a blank line before log entries, which are used to denote the
start of a transaction commit.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Mon, 28 Mar 2022 23:24:10 +0000 (19:24 -0400)]
Merge remote-tracking branch 'holmanb/holmanb/suppressions'
Kent Overstreet [Mon, 28 Mar 2022 23:23:09 +0000 (19:23 -0400)]
Merge remote-tracking branch 'holmanb/holmanb/keyutils-dep-check'
Kent Overstreet [Mon, 28 Mar 2022 22:44:48 +0000 (18:44 -0400)]
Update bcachefs sources to
7786034caa bcachefs: Fix for freespace version upgrade path
Kent Overstreet [Mon, 28 Mar 2022 20:32:53 +0000 (16:32 -0400)]
Update bcachefs sources to
bba7493dda bcachefs: Fix error path in bch2_snapshot_set_equiv()
Kent Overstreet [Mon, 28 Mar 2022 16:39:12 +0000 (12:39 -0400)]
Heap code fix
When deleting an entry from a heap that was at entry h->used - 1, we'd
end up calling heap_sift() on an entry outside the heap - the entry we
just removed - which would end up re-adding it to the heap and deleting
something we didn't want to delete. Oops...
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Brett Holman [Thu, 24 Mar 2022 01:36:03 +0000 (19:36 -0600)]
Add valgrind suppressions:
- urcu
- rebalance thread
Brett Holman [Thu, 24 Mar 2022 17:11:58 +0000 (11:11 -0600)]
check for libkeyutils with pkg-config
Kent Overstreet [Tue, 22 Mar 2022 05:50:14 +0000 (01:50 -0400)]
cmd_format: verbose no longer on by default
Instead, we now have a -v option
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Brett Holman [Tue, 22 Mar 2022 17:59:36 +0000 (11:59 -0600)]
fix example
Kent Overstreet [Tue, 22 Mar 2022 00:20:09 +0000 (20:20 -0400)]
Shrinker improvements
After memory allocation failure, don't rely on /proc/meminfo to figure
out how much memory we should free - instead unconditionally free 1/8th
of each cache.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Mon, 21 Mar 2022 21:59:13 +0000 (17:59 -0400)]
Better bio_alloc_bioset()
bio_alloc_bioset() now uses mempools, so we don't segfault on memory
allocation failure.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Mon, 21 Mar 2022 07:06:23 +0000 (03:06 -0400)]
Update bcachefs sources to
367a8fad45 bcachefs: Reset journal flush delay to default value if zeroed
Kent Overstreet [Mon, 21 Mar 2022 06:10:28 +0000 (02:10 -0400)]
Update bcachefs sources to
0e705f5944 fixup! bcachefs: Refactor bch2_btree_node_mem_alloc()
Kent Overstreet [Sun, 20 Mar 2022 06:38:55 +0000 (02:38 -0400)]
cmd_debug: Add -j for dumping entire journal
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Sun, 13 Mar 2022 23:21:13 +0000 (19:21 -0400)]
Update bcachefs sources to
f05b3c1af9 bcachefs: Improve bucket_alloc_fail tracepoint
Kent Overstreet [Sun, 13 Mar 2022 23:14:01 +0000 (19:14 -0400)]
Update bcachefs sources to
e48731a188 bcachefs: Fix BTREE_TRIGGER_WANTS_OLD_AND_NEW
Kent Overstreet [Thu, 10 Mar 2022 20:38:02 +0000 (15:38 -0500)]
Add freezable_schedule() to linux kernel shim
Also fix the freezable_schedule_timeout() macro.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Thu, 10 Mar 2022 20:37:27 +0000 (15:37 -0500)]
Make filesystem initialization verbose
Initializing the freespace btree may take some time, so let's make that
visible.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Sun, 6 Mar 2022 19:07:16 +0000 (14:07 -0500)]
Update bcachefs sources to
e318fabeb4 bcachefs: Fix pr_tab_rjust()
Kent Overstreet [Sat, 5 Mar 2022 22:06:24 +0000 (17:06 -0500)]
Update bcachefs sources to
259ff91605 bcachefs: Don't keep around btree_paths unnecessarily
Kent Overstreet [Sat, 5 Mar 2022 18:46:11 +0000 (13:46 -0500)]
Update bcachefs sources to
b64d9b7b19 bcachefs: Don't arm journal->write_work when journal entry !open
Kent Overstreet [Sat, 5 Mar 2022 17:09:12 +0000 (12:09 -0500)]
Update bcachefs sources to
f67089dc9b bcachefs: Convert bch2_sb_to_text to master option list
Kent Overstreet [Tue, 1 Mar 2022 19:21:20 +0000 (14:21 -0500)]
cmd_list_journal: Indicate which journal entries are blacklisted
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Tue, 1 Mar 2022 20:45:36 +0000 (15:45 -0500)]
Update bcachefs sources to
8ffb42b3d0 bcachefs: Finish writing journal after journal error
Kent Overstreet [Sun, 27 Feb 2022 21:35:20 +0000 (16:35 -0500)]
Update bcachefs sources to
ffad51ba45 bcachefs: Fix a use after free
Kent Overstreet [Sun, 27 Feb 2022 17:01:32 +0000 (12:01 -0500)]
Update bcachefs sources to
04036b4910 bcachefs: Fix a memory leak
Aleksei Kharlamov [Sat, 26 Feb 2022 17:06:02 +0000 (18:06 +0100)]
Heap-allocate printbufs
Signed-off-by: Aleksei Kharlamov <aleksei@devass.club>
Aleksei Kharlamov [Sat, 26 Feb 2022 17:05:28 +0000 (18:05 +0100)]
Update bcachefs sources to
31718a2 : bcachefs: Don't spin in journal reclaim
Signed-off-by: Aleksei Kharlamov <aleksei@devass.club>
Kent Overstreet [Tue, 22 Feb 2022 09:55:39 +0000 (04:55 -0500)]
Update bcachefs sources to
9b3aa5ec6c bcachefs: Add tabstops to printbufs
Kent Overstreet [Mon, 21 Feb 2022 10:38:44 +0000 (05:38 -0500)]
Update bcachefs sources to
9d554fa16d bcachefs: Add .to_text() methods for all superblock sections
Kent Overstreet [Sat, 19 Feb 2022 10:18:08 +0000 (05:18 -0500)]
list_journal: tell recovery to only read the journal
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Sat, 19 Feb 2022 10:16:30 +0000 (05:16 -0500)]
Update bcachefs sources to
7d0925084b bcachefs: opts.read_journal_only
Kent Overstreet [Sat, 19 Feb 2022 09:12:15 +0000 (04:12 -0500)]
list_journal: Improve formatting
log journal entries denote the start of a transaction commit - let's
indent them differently
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Sat, 19 Feb 2022 06:31:37 +0000 (01:31 -0500)]
list_journal: also print where entries were written
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Sat, 19 Feb 2022 06:31:29 +0000 (01:31 -0500)]
Update bcachefs sources to
da8056a215 bcachefs: Store logical location of journal entries
Kent Overstreet [Fri, 18 Feb 2022 10:58:24 +0000 (05:58 -0500)]
Switch to pthread_mutex_t for spinlocks, too
This fixes an observed journal deadlock - real spinlocks aren't safe in
userspace.
Kent Overstreet [Wed, 16 Feb 2022 12:22:40 +0000 (07:22 -0500)]
Update bcachefs sources to
cea583fa17 bcachefs: Only mark iterators nopreserve that aren't in use
Kent Overstreet [Wed, 16 Feb 2022 11:31:13 +0000 (06:31 -0500)]
Use printbuf_indent_push
This properly indents multi-line printbuf output
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Wed, 16 Feb 2022 11:31:28 +0000 (06:31 -0500)]
Update bcachefs sources to
a0d7001b0f bcachefs: Change bch2_dev_lookup() to not use lookup_bdev()
Kent Overstreet [Sun, 13 Feb 2022 09:07:30 +0000 (04:07 -0500)]
Update bcachefs sources to
ba398d2906 bcachefs: Fix reflink repair code
Kent Overstreet [Thu, 10 Feb 2022 08:42:28 +0000 (03:42 -0500)]
Update bcachefs sources to
b84661c042 bcachefs: Fix reflink repair code
Wessel Dankers [Wed, 12 Jan 2022 16:26:14 +0000 (17:26 +0100)]
Fix heap corruption in bcachefs format
In bch2_format(): recompute mi after each sb modification:
its location in memory may have changed due to reallocation.
This fixes an issue where labels were not assigned (because
they were written to an undefined part of the heap instead of
the superblock).
Signed-off-by: Wessel Dankers <wsl@fruit.je>
Daniel B. Hill [Tue, 11 Jan 2022 13:14:41 +0000 (02:14 +1300)]
Makefile: We need to exclude hidden folders
Sometimes user-specific apps create .c files in hidden folders breaking make.
Signed-off-by: Daniel B. Hill <daniel@gluo.nz>
Kent Overstreet [Tue, 11 Jan 2022 02:41:51 +0000 (21:41 -0500)]
Update bcachefs sources to
bf340e68c7 bcachefs: Ignore cached data when calculating fragmentation
Kent Overstreet [Mon, 10 Jan 2022 22:22:28 +0000 (17:22 -0500)]
Fix makefile for building docs
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Thu, 6 Jan 2022 00:39:57 +0000 (19:39 -0500)]
Update bcachefs sources to
5242db9aec bcachefs: Fix bch2_check_fix_ptrs()
Kent Overstreet [Tue, 4 Jan 2022 04:43:03 +0000 (23:43 -0500)]
Update bcachefs sources to
50ac18afbb bcachefs: Fix an uninitialized variable
Kent Overstreet [Sun, 2 Jan 2022 23:40:44 +0000 (18:40 -0500)]
Update bcachefs sources to
90d824456e bcachefs: Improve path for when btree_gc needs another pass
Kent Overstreet [Sun, 2 Jan 2022 02:22:24 +0000 (21:22 -0500)]
Update bcachefs sources to
aa439f3b94 bcachefs: btree_gc no longer uses main in-memory bucket array
Kent Overstreet [Fri, 31 Dec 2021 23:03:19 +0000 (18:03 -0500)]
Update bcachefs sources to
42284b8b2b bcachefs: Fix race between btree updates & journal replay
Kent Overstreet [Fri, 31 Dec 2021 22:24:06 +0000 (17:24 -0500)]
Improve the list_journal subcommand
This updates list_journal to use the new bch2_journal_entry_to_text()
pretty-printer.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Fri, 31 Dec 2021 22:23:40 +0000 (17:23 -0500)]
Update bcachefs sources to
9d28e4a535 bcachefs: bch2_journal_entry_to_text()
Kent Overstreet [Fri, 31 Dec 2021 02:23:06 +0000 (21:23 -0500)]
Update bcachefs sources to
916d92b6b4 bcachefs: Add error messages for memory allocation failures
Kent Overstreet [Fri, 31 Dec 2021 01:26:09 +0000 (20:26 -0500)]
Retry memory allocation failures
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Daniel B. Hill [Wed, 29 Dec 2021 00:32:47 +0000 (13:32 +1300)]
fix labels not applying
Signed-off-by: Daniel B. Hill <daniel@gluo.nz>
Kent Overstreet [Tue, 28 Dec 2021 21:47:44 +0000 (16:47 -0500)]
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>
Kent Overstreet [Tue, 28 Dec 2021 19:30:25 +0000 (14:30 -0500)]
Update bcachefs sources to
078a1a596a bcachefs: Optimize bucket reuse
Igor Velkov [Tue, 28 Dec 2021 19:19:19 +0000 (21:19 +0200)]
Update manpage to follow --label and --compression updates
Kent Overstreet [Wed, 22 Dec 2021 04:42:46 +0000 (23:42 -0500)]
Update bcachefs sources to
f9d2e809a8 bcachefs: Turn encoded_extent_max into a regular option
Kent Overstreet [Wed, 22 Dec 2021 04:13:52 +0000 (23:13 -0500)]
Update bcachefs sources to
aa540d47ab bcachefs: Option improvements
Kent Overstreet [Wed, 22 Dec 2021 02:53:07 +0000 (21:53 -0500)]
Update bcachefs sources to
d3422f9b18 bcachefs: Journal initialization fixes
Kent Overstreet [Mon, 20 Dec 2021 20:49:32 +0000 (15:49 -0500)]
Fix migrate tool for snapshots
This updates cmd_migrate.c for the snapshot field & subvolumes.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Mon, 20 Dec 2021 20:24:22 +0000 (15:24 -0500)]
Delete old bcachefs.5 from makefile
Kent Overstreet [Mon, 20 Dec 2021 02:55:09 +0000 (21:55 -0500)]
fix init_layout()
It was incorrectly failing when we did have enough space for the
superblocks - >= should have been >. Also, give it a better error
message.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Mon, 20 Dec 2021 00:37:29 +0000 (19:37 -0500)]
Update bcachefs sources to
ff3a76e1af bcachefs: Change need_whiteout_for_snapshot() to clone iterator
Kent Overstreet [Tue, 14 Dec 2021 21:15:21 +0000 (16:15 -0500)]
Update bcachefs sources to
635ca475f4 bcachefs: Fix debug build in userspace
Kent Overstreet [Mon, 13 Dec 2021 22:14:44 +0000 (17:14 -0500)]
Rename group to label in show-super output
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Sat, 11 Dec 2021 22:25:34 +0000 (17:25 -0500)]
Update bcachefs sources to
6bb1ba5c94 bcachefs: Improve alloc_mem_to_key()
Kent Overstreet [Fri, 10 Dec 2021 19:07:31 +0000 (14:07 -0500)]
Fix device add for kernel sysfs changes
Also slightly improve some error messages
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Fri, 10 Dec 2021 18:32:35 +0000 (13:32 -0500)]
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>
Kent Overstreet [Tue, 30 Nov 2021 20:27:31 +0000 (15:27 -0500)]
Update bcachefs sources to
50d6a25d9c bcachefs: Erasure coding fixes
Kent Overstreet [Sun, 21 Nov 2021 21:26:39 +0000 (16:26 -0500)]
Update bcachefs sources to
4c24a1cf56 bcachefs: Fix BCH_FS_ERROR flag handling
Kent Overstreet [Sun, 21 Nov 2021 19:55:54 +0000 (14:55 -0500)]
Update bcachefs sources to
2152e671d8 bcachefs: Add a bit of missing repair code
Kent Overstreet [Tue, 16 Nov 2021 23:56:44 +0000 (18:56 -0500)]
Merge https://github.com/YellowOnion/bcachefs-tools
Daniel B. Hill [Mon, 15 Nov 2021 23:41:28 +0000 (12:41 +1300)]
Fix sub commands not triggering without arguments
Signed-off-by: Daniel B. Hill <daniel@gluo.nz>
Kent Overstreet [Tue, 16 Nov 2021 14:12:15 +0000 (09:12 -0500)]
Update bcachefs sources to
70b5fb5daf bcachefs: Fix error reporting from bch2_journal_flush_seq
Kent Overstreet [Mon, 15 Nov 2021 20:19:44 +0000 (15:19 -0500)]
Fix uninitialized vars
This fixes crashes when listing btree nodes.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Kent Overstreet [Sat, 6 Nov 2021 16:46:36 +0000 (12:46 -0400)]
Update bcachefs sources to
6afa1fcb13 bcachefs: Clean up error reporting in the startup path
Kent Overstreet [Fri, 5 Nov 2021 19:08:36 +0000 (15:08 -0400)]
Update bcachefs sources to
6d9ff21de7 bcachefs: Kill journal buf bloom filter
Daniel B. Hill [Thu, 4 Nov 2021 04:38:58 +0000 (17:38 +1300)]
fix version and show-super not working