]>
git.sesse.net Git - bcachefs-tools-debian/log
Kent Overstreet [Tue, 29 Nov 2022 06:15:08 +0000 (01:15 -0500)]
Update bcachefs sources to
8a65cc4951 bcachefs: Improve bch2_dev_freespace_init()
Kent Overstreet [Sat, 26 Nov 2022 22:09:59 +0000 (17:09 -0500)]
Update bcachefs sources to
5963d1b1a4 bcacehfs: Fix bch2_get_alloc_in_memory_pos()
Stijn Tintel [Thu, 24 Nov 2022 04:21:06 +0000 (06:21 +0200)]
Fix build against musl libc.
The musl C library does not define __attribute_const__. Add it to
include/linux/compiler.h with a guard to fix build against musl libc.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Kent Overstreet [Sun, 20 Nov 2022 05:15:11 +0000 (00:15 -0500)]
Update bcachefs sources to
ea47add37d bcachefs: More errcode cleanup
Kent Overstreet [Sun, 20 Nov 2022 02:45:00 +0000 (21:45 -0500)]
Update bcachefs sources to
ed88ebf18c bcachefs: Handle last journal write being torn
Kent Overstreet [Sun, 20 Nov 2022 02:29:01 +0000 (21:29 -0500)]
Update bcachefs sources to
586e7c5498 bcachefs: Improve journal_read() logging
Kent Overstreet [Sun, 20 Nov 2022 00:00:25 +0000 (19:00 -0500)]
rust-src: cargo update
Update locked dependencies
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet [Sat, 19 Nov 2022 23:59:55 +0000 (18:59 -0500)]
linux/blkdev.c: Fall back to buffered IO when O_DIRECT fails
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet [Fri, 18 Nov 2022 23:23:28 +0000 (18:23 -0500)]
Update bcachefs sources to
4366ca365f fixup! bcachefs: Btree split improvement
Kent Overstreet [Fri, 18 Nov 2022 23:21:11 +0000 (18:21 -0500)]
Update bcachefs sources to
6406e05835 bcachefs: Nocow support
Kent Overstreet [Wed, 16 Nov 2022 05:03:36 +0000 (00:03 -0500)]
cmd_migrate: Fix for write completion change
bch_write no longer delivers completions via op->cl - this patch changes
to use BCH_WRITE_SYNC.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Eric Sandeen [Tue, 15 Nov 2022 19:51:39 +0000 (13:51 -0600)]
bcachefs-tools: add tarball make target
This makes it easy to generate a tarball, which should eventually
facilitate packaging: "make tarball"
Note that it's currently using the $(VERSION) from git describe
which may not be ideal once point releases are happening, but that
holds true for everywhere $(VERSION) is used.
All tar.xz files are removed via "make clean"
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Eric Sandeen [Tue, 15 Nov 2022 19:11:52 +0000 (13:11 -0600)]
bcachefs-tools: Prettify make output
Make the default "make" output look more like kbuild; this makes
errors and warnings much easier to spot. "Make V=1" will revert to
showing the full command lines.
This is done by redefining some implicit rules to add the echo and
the quiet variable. These changes are similar to those in xfsprogs.
and btrfs-progs
This patch also silences things if pytest-3 is not found.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Kent Overstreet [Mon, 14 Nov 2022 01:09:40 +0000 (20:09 -0500)]
cmd_kill_btree_node.c
This factors out cmd_kill_btree_node into its own file - it was in
cmd_list_journal.c, which wsa rather silly.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet [Mon, 14 Nov 2022 01:04:21 +0000 (20:04 -0500)]
Update bcachefs sources to
8d3fc97ca3 bcachefs: Fixes for building in userspace
Kent Overstreet [Mon, 24 Oct 2022 15:34:07 +0000 (11:34 -0400)]
Update bcachefs sources to
61ebcb532a bcachefs: Fix for allocating before backpointers have been checked
Kent Overstreet [Sun, 23 Oct 2022 21:39:22 +0000 (17:39 -0400)]
Update bcachefs sources to
70fa0c1ff4 fixup! bcachefs: Btree key cache improvements
Kent Overstreet [Sat, 22 Oct 2022 17:25:25 +0000 (13:25 -0400)]
Update bcachefs sources to
cd779e0cc5 bcachefs: Skip inode unpack/pack in bch2_extent_update()
Kent Overstreet [Sat, 15 Oct 2022 09:29:10 +0000 (05:29 -0400)]
Update bcachefs sources to
44be8c1da2 fixup! bcachefs: Btree key cache improvements
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet [Wed, 12 Oct 2022 20:29:56 +0000 (16:29 -0400)]
Update bcachefs sources to
3e93567c51 bcachefs: Switch to local_clock() for fastpath time source
Kent Overstreet [Wed, 12 Oct 2022 15:06:50 +0000 (11:06 -0400)]
Update bcachefs sources to
6ee8a33cee bcachefs: Call bch2_btree_update_add_new_node() before dropping write lock
Kent Overstreet [Tue, 11 Oct 2022 11:43:08 +0000 (07:43 -0400)]
Update bcachefs sources to
83edfdeb29 bcachefs: Run check_extents_to_backpointers() in multiple passes
Kent Overstreet [Tue, 11 Oct 2022 10:40:24 +0000 (06:40 -0400)]
Update bcachefs sources to
6dc2a699c6 bcachefs: bch2_path_put_nokeep()
Kent Overstreet [Tue, 11 Oct 2022 07:22:55 +0000 (03:22 -0400)]
fixup! Don't run shrinkers without GFP_KERNEL
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet [Tue, 11 Oct 2022 05:21:38 +0000 (01:21 -0400)]
Update bcachefs sources to
55f0b5944b fixup! bcachefs: Run bch2_check_backpointers_to_extents() in multiple passes if necessary
Kent Overstreet [Tue, 11 Oct 2022 04:39:06 +0000 (00:39 -0400)]
Don't run shrinkers without GFP_KERNEL
This would correspond to GFP_RECLAIM in the kernel - but we don't
distinguish between different types of reclaim here.
This solves a deadlock in the btree node memory allocation path - we
allocate with the btree node cache lock held but without GFP_KERNEL set.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Kent Overstreet [Mon, 10 Oct 2022 03:27:41 +0000 (23:27 -0400)]
Update bcachefs sources to
47ffed9fad bcachefs: bch2_btree_delete_range_trans() now uses peek_upto()
Kent Overstreet [Sun, 9 Oct 2022 06:32:57 +0000 (02:32 -0400)]
Update bcachefs sources to
cbccc6d869 bcachefs: Ratelimit ec error message
Kent Overstreet [Mon, 26 Sep 2022 02:28:34 +0000 (22:28 -0400)]
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>
Kent Overstreet [Mon, 12 Sep 2022 06:39:23 +0000 (02:39 -0400)]
Update bcachefs sources to
2620221039 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()
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
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
Kent Overstreet [Thu, 18 Aug 2022 16:32:10 +0000 (12:32 -0400)]
Update bcachefs sources to
dfaf9a6ee2 lib/printbuf: Clean up headers
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()
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()
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>
Kent Overstreet [Sun, 17 Jul 2022 23:28:54 +0000 (19:28 -0400)]
Update bcachefs sources to
1bda24d7cc 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()
Kent Overstreet [Sat, 16 Jul 2022 00:51:23 +0000 (20:51 -0400)]
Update bcachefs sources to
2f11bb05b0 bcachefs: for_each_btree_key2()
Kent Overstreet [Fri, 15 Jul 2022 21:24:21 +0000 (17:24 -0400)]
Update bcachefs sources to
17a344f265 bcachefs: Improve fsck for subvols/snapshots
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
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
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>
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>
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
Kent Overstreet [Mon, 27 Jun 2022 19:20:54 +0000 (15:20 -0400)]
hweight32()
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
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>
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>
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>
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>
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>
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>
Kent Overstreet [Wed, 15 Jun 2022 18:58:36 +0000 (14:58 -0400)]
Update bcachefs sources to
2f4e24d856 bcachefs: Split out dev_buckets_free()
Kent Overstreet [Tue, 14 Jun 2022 05:44:59 +0000 (01:44 -0400)]
Update bcachefs sources to
c76f7e91e8 bcachefs: Fix btree node read retries
Kent Overstreet [Sat, 11 Jun 2022 22:13:40 +0000 (18:13 -0400)]
Update bcachefs sources to
3704d0779c bcachefs: Improved human readable integer parsing
Kent Overstreet [Thu, 9 Jun 2022 05:13:46 +0000 (01:13 -0400)]
Update bcachefs sources to
24f7e08cd8 bcachefs: shrinker.to_text() methods
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>
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
Kent Overstreet [Sun, 5 Jun 2022 21:42:24 +0000 (17:42 -0400)]
Update bcachefs sources to
600598598b bcachefs: Also log overwrites in journal
Kent Overstreet [Tue, 31 May 2022 02:36:00 +0000 (22:36 -0400)]
Update bcachefs sources to
fad6d13aa5 fixup! bcachefs: Add persistent counters
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>
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
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>
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>
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>
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>
Kent Overstreet [Mon, 9 May 2022 16:40:49 +0000 (12:40 -0400)]
Update bcachefs sources to
c4ca278a54 bcachefs: Delete bch_writepage
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
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>
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>
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
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
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
Kent Overstreet [Tue, 12 Apr 2022 02:40:16 +0000 (22:40 -0400)]
Update bcachefs sources to
fb8a27f6d4 bcachefs: Delete a redundant tracepoint
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)()
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()