]> git.sesse.net Git - bcachefs-tools-debian/log
bcachefs-tools-debian
21 months agoUpdate bcachefs sources to 176718966e bcachefs: Re-enable hash_redo_key()
Kent Overstreet [Sun, 4 Sep 2022 18:21:58 +0000 (14:21 -0400)]
Update bcachefs sources to 176718966e bcachefs: Re-enable hash_redo_key()

22 months agoUpdate bcachefs sources to a7694865a3 bcachefs: fsck: Another transaction restart...
Kent Overstreet [Thu, 18 Aug 2022 22:00:01 +0000 (18:00 -0400)]
Update bcachefs sources to a7694865a3 bcachefs: fsck: Another transaction restart handling fix

22 months agoUpdate bcachefs sources to 3421116a6c bcachefs: bch2_btree_delete_range_trans() now...
Kent Overstreet [Thu, 18 Aug 2022 17:03:43 +0000 (13:03 -0400)]
Update bcachefs sources to 3421116a6c bcachefs: bch2_btree_delete_range_trans() now returns -BCH_ERR_transaction_restart_nested

22 months agoUpdate bcachefs sources to dfaf9a6ee2 lib/printbuf: Clean up headers
Kent Overstreet [Thu, 18 Aug 2022 16:32:10 +0000 (12:32 -0400)]
Update bcachefs sources to dfaf9a6ee2 lib/printbuf: Clean up headers

22 months agoUpdate bcachefs sources to 49c34dadca bcachefs: Switch bch2_btree_delete_range()...
Kent Overstreet [Thu, 11 Aug 2022 23:25:47 +0000 (19:25 -0400)]
Update bcachefs sources to 49c34dadca bcachefs: Switch bch2_btree_delete_range() to bch2_trans_run()

22 months agoUpdate bcachefs sources to 90a9c61e2b bcachefs: Switch bch2_btree_delete_range()...
Kent Overstreet [Thu, 11 Aug 2022 00:28:55 +0000 (20:28 -0400)]
Update bcachefs sources to 90a9c61e2b bcachefs: Switch bch2_btree_delete_range() to bch2_trans_run()

22 months agocmd_list: Fix -m nodes_ondisk
Kent Overstreet [Thu, 21 Jul 2022 19:46:57 +0000 (15:46 -0400)]
cmd_list: Fix -m nodes_ondisk

We were using malloc() for a buffer to be used for an O_DIRECT read -
oops, that doesn't work.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
23 months agoUpdate bcachefs sources to 1bda24d7cc fixup! bcachefs: for_each_btree_key2()
Kent Overstreet [Sun, 17 Jul 2022 23:28:54 +0000 (19:28 -0400)]
Update bcachefs sources to 1bda24d7cc fixup! bcachefs: for_each_btree_key2()

23 months agoUpdate bcachefs sources to d82da7126f fixup! bcachefs: for_each_btree_key2()
Kent Overstreet [Sun, 17 Jul 2022 09:20:47 +0000 (05:20 -0400)]
Update bcachefs sources to d82da7126f fixup! bcachefs: for_each_btree_key2()

23 months agoUpdate bcachefs sources to 2f11bb05b0 bcachefs: for_each_btree_key2()
Kent Overstreet [Sat, 16 Jul 2022 00:51:23 +0000 (20:51 -0400)]
Update bcachefs sources to 2f11bb05b0 bcachefs: for_each_btree_key2()

23 months agoUpdate bcachefs sources to 17a344f265 bcachefs: Improve fsck for subvols/snapshots
Kent Overstreet [Fri, 15 Jul 2022 21:24:21 +0000 (17:24 -0400)]
Update bcachefs sources to 17a344f265 bcachefs: Improve fsck for subvols/snapshots

23 months agoUpdate bcachefs sources to a03225a783 bcachefs: Put some repair messages behind opts...
Kent Overstreet [Tue, 12 Jul 2022 12:54:47 +0000 (08:54 -0400)]
Update bcachefs sources to a03225a783 bcachefs: Put some repair messages behind opts->verbose

23 months agoUpdate bcachefs sources to a059319fee bcachefs: Put some repair messages behind opts...
Kent Overstreet [Tue, 12 Jul 2022 03:07:34 +0000 (23:07 -0400)]
Update bcachefs sources to a059319fee bcachefs: Put some repair messages behind opts->verbose

23 months agocmd_device_set_state: use buffered IO for writing superblock
Kent Overstreet [Tue, 12 Jul 2022 03:06:17 +0000 (23:06 -0400)]
cmd_device_set_state: use buffered IO for writing superblock

The layout may be unaligned on 4k sector devices - but there's no reason
we need to use direct IO here.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
23 months agocmd_list: Fix indenting in -m nodes_ondisk
Kent Overstreet [Mon, 11 Jul 2022 19:44:02 +0000 (15:44 -0400)]
cmd_list: Fix indenting in -m nodes_ondisk

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
23 months agoUpdate bcachefs sources to 95ff72a6c1 fixup! mm: Centralize & improve oom reporting...
Kent Overstreet [Mon, 27 Jun 2022 19:58:48 +0000 (15:58 -0400)]
Update bcachefs sources to 95ff72a6c1 fixup! mm: Centralize & improve oom reporting in show_mem.c

23 months agohweight32()
Kent Overstreet [Mon, 27 Jun 2022 19:20:54 +0000 (15:20 -0400)]
hweight32()

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
23 months agoFixup from darray change
Kent Overstreet [Mon, 27 Jun 2022 18:45:48 +0000 (14:45 -0400)]
Fixup from darray change

This fixes cmd_migrate

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
23 months agoFix bdev_logical_block_size()
Kent Overstreet [Thu, 23 Jun 2022 02:17:14 +0000 (22:17 -0400)]
Fix bdev_logical_block_size()

We were returning sectors instead of bytes.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
23 months agoFix printk_ratelimited()
Kent Overstreet [Thu, 23 Jun 2022 02:05:39 +0000 (22:05 -0400)]
Fix printk_ratelimited()

printk_ratelimited was behind an #ifdef CONFIG_PRINTK, which we don't
define, so it was a complete noop - oops.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agocmd_dump: Make sure output filename ends in .qcow2
Kent Overstreet [Sat, 18 Jun 2022 22:34:02 +0000 (18:34 -0400)]
cmd_dump: Make sure output filename ends in .qcow2

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agocmd_dump: Use buffered IO for reading device metadata
Kent Overstreet [Sat, 18 Jun 2022 22:33:25 +0000 (18:33 -0400)]
cmd_dump: Use buffered IO for reading device metadata

We're reading device metadat in mostly sequential order - buffered IO
will be faster than O_DIRECT.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoBreak up cmd_debug.c into multiple files
Kent Overstreet [Sat, 18 Jun 2022 22:25:19 +0000 (18:25 -0400)]
Break up cmd_debug.c into multiple files

In the future, let's have one cmd_foo.c file per subcommand.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to 2f4e24d856 bcachefs: Split out dev_buckets_free()
Kent Overstreet [Wed, 15 Jun 2022 18:58:36 +0000 (14:58 -0400)]
Update bcachefs sources to 2f4e24d856 bcachefs: Split out dev_buckets_free()

2 years agoUpdate bcachefs sources to c76f7e91e8 bcachefs: Fix btree node read retries
Kent Overstreet [Tue, 14 Jun 2022 05:44:59 +0000 (01:44 -0400)]
Update bcachefs sources to c76f7e91e8 bcachefs: Fix btree node read retries

2 years agoUpdate bcachefs sources to 3704d0779c bcachefs: Improved human readable integer parsing
Kent Overstreet [Sat, 11 Jun 2022 22:13:40 +0000 (18:13 -0400)]
Update bcachefs sources to 3704d0779c bcachefs: Improved human readable integer parsing

2 years agoUpdate bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods
Kent Overstreet [Thu, 9 Jun 2022 05:13:46 +0000 (01:13 -0400)]
Update bcachefs sources to 24f7e08cd8 bcachefs: shrinker.to_text() methods

2 years agocmd_list_journal: Add -v (verbose)
Kent Overstreet [Thu, 9 Jun 2022 01:51:48 +0000 (21:51 -0400)]
cmd_list_journal: Add -v (verbose)

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to c68fda3e8f bcachefs: Fix btree node read error path
Kent Overstreet [Tue, 7 Jun 2022 06:16:44 +0000 (02:16 -0400)]
Update bcachefs sources to c68fda3e8f bcachefs: Fix btree node read error path

2 years agoUpdate bcachefs sources to 600598598b bcachefs: Also log overwrites in journal
Kent Overstreet [Sun, 5 Jun 2022 21:42:24 +0000 (17:42 -0400)]
Update bcachefs sources to 600598598b bcachefs: Also log overwrites in journal

2 years agoUpdate bcachefs sources to fad6d13aa5 fixup! bcachefs: Add persistent counters
Kent Overstreet [Tue, 31 May 2022 02:36:00 +0000 (22:36 -0400)]
Update bcachefs sources to fad6d13aa5 fixup! bcachefs: Add persistent counters

2 years agoSimplify Nix(OS) development
Daniel B. Hill [Tue, 11 Jan 2022 11:26:05 +0000 (00:26 +1300)]
Simplify Nix(OS) development

Signed-off-by: Daniel B. Hill <daniel@gluo.nz>
2 years agoUpdate bcachefs sources to 969fbff4ef bcachefs: Print message on btree node read...
Kent Overstreet [Thu, 26 May 2022 21:47:22 +0000 (17:47 -0400)]
Update bcachefs sources to 969fbff4ef bcachefs: Print message on btree node read retry success

2 years agoNew subcommand: set-option
Kent Overstreet [Thu, 26 May 2022 20:26:53 +0000 (16:26 -0400)]
New subcommand: set-option

This is for setting superblock options on existing filesystems, either
online or offline.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoDelete some dead code
Kent Overstreet [Thu, 26 May 2022 20:30:20 +0000 (16:30 -0400)]
Delete some dead code

printf_pad() has been superseded by printbuf tabstops.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate email address
Kent Overstreet [Thu, 26 May 2022 19:40:08 +0000 (15:40 -0400)]
Update email address

This changes linux-bcache@vger.kernel.org references to the correct
mailing list (linux-bcachefs@vger.kernel.org).

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agocmd_unlock: Add -k argument to specify keyring
Kent Overstreet [Thu, 19 May 2022 19:59:37 +0000 (15:59 -0400)]
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>
2 years agoUpdate bcachefs sources to c4ca278a54 bcachefs: Delete bch_writepage
Kent Overstreet [Mon, 9 May 2022 16:40:49 +0000 (12:40 -0400)]
Update bcachefs sources to c4ca278a54 bcachefs: Delete bch_writepage

2 years agoUpdate bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf bloom filter
Kent Overstreet [Mon, 2 May 2022 22:39:16 +0000 (18:39 -0400)]
Update bcachefs sources to bdf6d7c135 fixup! bcachefs: Kill journal buf bloom filter

2 years agoFix man for device set-state command
Igor Velkov [Sat, 16 Apr 2022 21:38:50 +0000 (00:38 +0300)]
Fix man for device set-state command

Signed-off-by: Igor Velkov <iav@iav.lv>
2 years agolist_journal: Add -n for number of entries to print
Kent Overstreet [Tue, 12 Apr 2022 20:38:10 +0000 (16:38 -0400)]
list_journal: Add -n for number of entries to print

The entire journal can be too big to fit in memory in textual form,
making grep difficult: this adds an option to print a specific number of
journal entries.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
2 years agoUpdate bcachefs sources to 4c2d3669b1 bcachefs: In fsck, pass BTREE_UPDATE_INTERNAL_S...
Kent Overstreet [Tue, 12 Apr 2022 17:15:53 +0000 (13:15 -0400)]
Update bcachefs sources to 4c2d3669b1 bcachefs: In fsck, pass BTREE_UPDATE_INTERNAL_SNAPSHOT_NODE when deleting dirents

2 years agoUpdate bcachefs sources to 7a06c01fa3 bcachefs: Fix for getting stuck in journal...
Kent Overstreet [Tue, 12 Apr 2022 16:52:50 +0000 (12:52 -0400)]
Update bcachefs sources to 7a06c01fa3 bcachefs: Fix for getting stuck in journal replay

2 years agoUpdate bcachefs sources to de2fbf8b87 fixup! bcachefs: Change journal_io.c assertion...
Kent Overstreet [Tue, 12 Apr 2022 03:03:41 +0000 (23:03 -0400)]
Update bcachefs sources to de2fbf8b87 fixup! bcachefs: Change journal_io.c assertion to error message

2 years agoUpdate bcachefs sources to fb8a27f6d4 bcachefs: Delete a redundant tracepoint
Kent Overstreet [Tue, 12 Apr 2022 02:40:16 +0000 (22:40 -0400)]
Update bcachefs sources to fb8a27f6d4 bcachefs: Delete a redundant tracepoint

2 years agoUpdate bcachefs sources to e67d924a90 bcachefs: Introduce bch2_journal_keys_peek_...
Kent Overstreet [Tue, 12 Apr 2022 00:32:28 +0000 (20:32 -0400)]
Update bcachefs sources to e67d924a90 bcachefs: Introduce bch2_journal_keys_peek_(upto|slot)()

2 years agoUpdate bcachefs sources to 2d5e6ec144 fixup! bcachefs: Ensure buckets have io_time...
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

2 years agoUpdate bcachefs sources to 202b20c48f bcachefs: Ensure buckets have io_time[READ...
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

2 years agoUpdate bcachefs sources to 1e6618c45d bcachefs: Improve bch2_open_buckets_to_text()
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()

2 years agoUpdate bcachefs sources to 1ff261b014 bcachefs: Fix CPU usage in journal read path
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

2 years agoUpdate bcachefs sources to ad72553649 bcachefs: Fix a null ptr deref
Kent Overstreet [Sun, 10 Apr 2022 18:41:57 +0000 (14:41 -0400)]
Update bcachefs sources to ad72553649 bcachefs: Fix a null ptr deref

2 years agoUpdate bcachefs sources to ac53c8857f fixup! bcachefs: Use a genradix for reading...
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

2 years agoUpdate bcachefs sources to 6ddf061e68 bcachefs: Use a genradix for reading journal...
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

2 years agoUpdate bcachefs sources to d3da360412 bcachefs: Fold bucket_state in to BCH_DATA_TYPES()
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()

2 years agoNew tool for killing btree nodes on a filesystem
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>
2 years agoUpdate bcachefs sources to 98a1bff393 bcachefs: Topology repair fixes
Kent Overstreet [Thu, 7 Apr 2022 21:52:51 +0000 (17:52 -0400)]
Update bcachefs sources to 98a1bff393 bcachefs: Topology repair fixes

2 years agoUpdate bcachefs sources to d2e0889128 bcachefs: fsck: Work around transaction restarts
Kent Overstreet [Wed, 6 Apr 2022 18:43:08 +0000 (14:43 -0400)]
Update bcachefs sources to d2e0889128 bcachefs: fsck: Work around transaction restarts

2 years agoUpdate bcachefs sources to 07bac0c685 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

2 years agoUpdate bcachefs sources to e027cf9aa0 fixup! bcachefs: Defer checking of alloc -...
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

2 years agoUpdate bcachefs sources to 91e6c3e0d5 bcachefs: Gap buffer for journal keys
Kent Overstreet [Mon, 4 Apr 2022 17:48:45 +0000 (13:48 -0400)]
Update bcachefs sources to 91e6c3e0d5 bcachefs: Gap buffer for journal keys

2 years agoUpdate bcachefs sources to ab3b6e7dd6 bcachefs: Fix pr_buf() calls
Kent Overstreet [Sat, 2 Apr 2022 20:36:29 +0000 (16:36 -0400)]
Update bcachefs sources to ab3b6e7dd6 bcachefs: Fix pr_buf() calls

2 years agoUpdate bcachefs sources to 5e392aed7a bcachefs: Kill bch2_alloc_write()
Kent Overstreet [Thu, 31 Mar 2022 20:57:08 +0000 (16:57 -0400)]
Update bcachefs sources to 5e392aed7a bcachefs: Kill bch2_alloc_write()

2 years agoFlush standard output before popping assertions
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>
2 years agocmd_list_journal: Tweak for new log entries
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>
2 years agoUpdate bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg()
Kent Overstreet [Wed, 30 Mar 2022 21:40:25 +0000 (17:40 -0400)]
Update bcachefs sources to f638850417 bcachefs: bch2_trans_log_msg()

2 years agocmd_list_journal: Make output more readable
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>
2 years agoMerge remote-tracking branch 'holmanb/holmanb/suppressions'
Kent Overstreet [Mon, 28 Mar 2022 23:24:10 +0000 (19:24 -0400)]
Merge remote-tracking branch 'holmanb/holmanb/suppressions'

2 years agoMerge remote-tracking branch 'holmanb/holmanb/keyutils-dep-check'
Kent Overstreet [Mon, 28 Mar 2022 23:23:09 +0000 (19:23 -0400)]
Merge remote-tracking branch 'holmanb/holmanb/keyutils-dep-check'

2 years agoUpdate bcachefs sources to 7786034caa bcachefs: Fix for freespace version upgrade...
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

2 years agoUpdate bcachefs sources to bba7493dda bcachefs: Fix error path in bch2_snapshot_set_e...
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()

2 years agoHeap code fix
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>
2 years agoAdd valgrind suppressions:
Brett Holman [Thu, 24 Mar 2022 01:36:03 +0000 (19:36 -0600)]
Add valgrind suppressions:

- urcu
- rebalance thread

2 years agocheck for libkeyutils with pkg-config
Brett Holman [Thu, 24 Mar 2022 17:11:58 +0000 (11:11 -0600)]
check for libkeyutils with pkg-config

2 years agocmd_format: verbose no longer on by default
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>
2 years agofix example
Brett Holman [Tue, 22 Mar 2022 17:59:36 +0000 (11:59 -0600)]
fix example

2 years agoShrinker improvements
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>
2 years agoBetter bio_alloc_bioset()
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>
2 years agoUpdate bcachefs sources to 367a8fad45 bcachefs: Reset journal flush delay to default...
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

2 years agoUpdate bcachefs sources to 0e705f5944 fixup! bcachefs: Refactor bch2_btree_node_mem_a...
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()

2 years agocmd_debug: Add -j for dumping entire journal
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>
2 years agoUpdate bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail tracepoint
Kent Overstreet [Sun, 13 Mar 2022 23:21:13 +0000 (19:21 -0400)]
Update bcachefs sources to f05b3c1af9 bcachefs: Improve bucket_alloc_fail tracepoint

2 years agoUpdate bcachefs sources to e48731a188 bcachefs: Fix BTREE_TRIGGER_WANTS_OLD_AND_NEW
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

2 years agoAdd freezable_schedule() to linux kernel shim
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>
2 years agoMake filesystem initialization verbose
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>
2 years agoUpdate bcachefs sources to e318fabeb4 bcachefs: Fix pr_tab_rjust()
Kent Overstreet [Sun, 6 Mar 2022 19:07:16 +0000 (14:07 -0500)]
Update bcachefs sources to e318fabeb4 bcachefs: Fix pr_tab_rjust()

2 years agoUpdate bcachefs sources to 259ff91605 bcachefs: Don't keep around btree_paths unneces...
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

2 years agoUpdate bcachefs sources to b64d9b7b19 bcachefs: Don't arm journal->write_work when...
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

2 years agoUpdate bcachefs sources to f67089dc9b bcachefs: Convert bch2_sb_to_text to master...
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

2 years agocmd_list_journal: Indicate which journal entries are blacklisted
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>
2 years agoUpdate bcachefs sources to 8ffb42b3d0 bcachefs: Finish writing journal after journal...
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

2 years agoUpdate bcachefs sources to ffad51ba45 bcachefs: Fix a use after free
Kent Overstreet [Sun, 27 Feb 2022 21:35:20 +0000 (16:35 -0500)]
Update bcachefs sources to ffad51ba45 bcachefs: Fix a use after free

2 years agoUpdate bcachefs sources to 04036b4910 bcachefs: Fix a memory leak
Kent Overstreet [Sun, 27 Feb 2022 17:01:32 +0000 (12:01 -0500)]
Update bcachefs sources to 04036b4910 bcachefs: Fix a memory leak

2 years agoHeap-allocate printbufs
Aleksei Kharlamov [Sat, 26 Feb 2022 17:06:02 +0000 (18:06 +0100)]
Heap-allocate printbufs

Signed-off-by: Aleksei Kharlamov <aleksei@devass.club>
2 years agoUpdate bcachefs sources to 31718a2: bcachefs: Don't spin in journal reclaim
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>
2 years agoUpdate bcachefs sources to 9b3aa5ec6c bcachefs: Add tabstops to printbufs
Kent Overstreet [Tue, 22 Feb 2022 09:55:39 +0000 (04:55 -0500)]
Update bcachefs sources to 9b3aa5ec6c bcachefs: Add tabstops to printbufs

2 years agoUpdate bcachefs sources to 9d554fa16d bcachefs: Add .to_text() methods for all superb...
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

2 years agolist_journal: tell recovery to only read the journal
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>
2 years agoUpdate bcachefs sources to 7d0925084b bcachefs: opts.read_journal_only
Kent Overstreet [Sat, 19 Feb 2022 10:16:30 +0000 (05:16 -0500)]
Update bcachefs sources to 7d0925084b bcachefs: opts.read_journal_only

2 years agolist_journal: Improve formatting
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>
2 years agolist_journal: also print where entries were written
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>