diff options
author | 2025-03-30 16:57:21 -0400 | |
---|---|---|
committer | 2025-03-30 18:25:12 -0400 | |
commit | 7fdc3fa3cb5fb561f5945b4de418d48d1a726a8d (patch) | |
tree | 7612995f4a4987960508270d4d2fb85854973365 /fs/bcachefs/io_read.c | |
parent | bcachefs: BCH_JSET_ENTRY_log_bkey (diff) | |
download | wireguard-linux-7fdc3fa3cb5fb561f5945b4de418d48d1a726a8d.tar.xz wireguard-linux-7fdc3fa3cb5fb561f5945b4de418d48d1a726a8d.zip |
bcachefs: Log original key being moved in data updates
There's something going on with the data move path; log the original key
being moved for debugging.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/io_read.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/io_read.c b/fs/bcachefs/io_read.c index fafd00a3d6c9..fd01e67b3e84 100644 --- a/fs/bcachefs/io_read.c +++ b/fs/bcachefs/io_read.c @@ -259,6 +259,7 @@ static struct bch_read_bio *__promote_alloc(struct btree_trans *trans, &orig->opts, update_opts, btree_id, k); + op->write.type = BCH_DATA_UPDATE_promote; /* * possible errors: -BCH_ERR_nocow_lock_blocked, * -BCH_ERR_ENOSPC_disk_reservation: |