Patch "btrfs: add block-group tree to lockdep classes" has been added to the 6.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    btrfs: add block-group tree to lockdep classes

to the 6.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     btrfs-add-block-group-tree-to-lockdep-classes.patch
and it can be found in the queue-6.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 1a1b0e729d227f9f758f7b5f1c997e874e94156e Mon Sep 17 00:00:00 2001
From: David Sterba <dsterba@xxxxxxxx>
Date: Thu, 1 Jun 2023 00:33:01 +0200
Subject: btrfs: add block-group tree to lockdep classes

From: David Sterba <dsterba@xxxxxxxx>

commit 1a1b0e729d227f9f758f7b5f1c997e874e94156e upstream.

The block group tree was not present among the lockdep classes. We could
get potentially lockdep warnings but so far none has been seen, also
because block-group-tree is a relatively new feature.

CC: stable@xxxxxxxxxxxxxxx # 6.1+
Signed-off-by: David Sterba <dsterba@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 fs/btrfs/locking.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- a/fs/btrfs/locking.c
+++ b/fs/btrfs/locking.c
@@ -57,8 +57,8 @@
 
 static struct btrfs_lockdep_keyset {
 	u64			id;		/* root objectid */
-	/* Longest entry: btrfs-free-space-00 */
-	char			names[BTRFS_MAX_LEVEL][20];
+	/* Longest entry: btrfs-block-group-00 */
+	char			names[BTRFS_MAX_LEVEL][24];
 	struct lock_class_key	keys[BTRFS_MAX_LEVEL];
 } btrfs_lockdep_keysets[] = {
 	{ .id = BTRFS_ROOT_TREE_OBJECTID,	DEFINE_NAME("root")	},
@@ -72,6 +72,7 @@ static struct btrfs_lockdep_keyset {
 	{ .id = BTRFS_DATA_RELOC_TREE_OBJECTID,	DEFINE_NAME("dreloc")	},
 	{ .id = BTRFS_UUID_TREE_OBJECTID,	DEFINE_NAME("uuid")	},
 	{ .id = BTRFS_FREE_SPACE_TREE_OBJECTID,	DEFINE_NAME("free-space") },
+	{ .id = BTRFS_BLOCK_GROUP_TREE_OBJECTID, DEFINE_NAME("block-group") },
 	{ .id = 0,				DEFINE_NAME("tree")	},
 };
 


Patches currently in stable-queue which might be from dsterba@xxxxxxxx are

queue-6.4/btrfs-add-handling-for-raid1c23-dup-to-btrfs_reduce_alloc_profile.patch
queue-6.4/btrfs-bail-out-reclaim-process-if-filesystem-is-read-only.patch
queue-6.4/btrfs-don-t-fail-writeback-when-allocating-the-compr.patch
queue-6.4/btrfs-fix-dirty_metadata_bytes-for-redirtied-buffers.patch
queue-6.4/btrfs-don-t-treat-zoned-writeback-as-being-from-an-a.patch
queue-6.4/btrfs-always-read-the-entire-extent_buffer.patch
queue-6.4/btrfs-warn-on-invalid-slot-in-tree-mod-log-rewind.patch
queue-6.4/btrfs-fix-file_offset-for-req_btrfs_one_ordered-bios.patch
queue-6.4/btrfs-add-block-group-tree-to-lockdep-classes.patch
queue-6.4/btrfs-add-missing-error-handling-when-logging-operation-while-cowing-extent-buffer.patch
queue-6.4/btrfs-submit-a-writeback-bio-per-extent_buffer.patch
queue-6.4/btrfs-fix-range_end-calculation-in-extent_write_lock.patch
queue-6.4/btrfs-return-bool-from-lock_extent_buffer_for_io.patch
queue-6.4/btrfs-only-call-__extent_writepage_io-from-extent_wr.patch
queue-6.4/btrfs-don-t-use-btrfs_bio_ctrl-for-extent-buffer-rea.patch
queue-6.4/btrfs-fix-extent-buffer-leak-after-tree-mod-log-failure-at-split_node.patch
queue-6.4/btrfs-fix-race-when-deleting-free-space-root-from-the-dirty-cow-roots-list.patch
queue-6.4/btrfs-move-out-now-unused-bg-from-the-reclaim-list.patch
queue-6.4/btrfs-fix-race-when-deleting-quota-root-from-the-dirty-cow-roots-list.patch
queue-6.4/btrfs-delete-unused-bgs-while-reclaiming-bgs.patch
queue-6.4/btrfs-do-not-bug_on-on-tree-mod-log-failure-at-balance_level.patch
queue-6.4/btrfs-do-not-bug_on-on-tree-mod-log-failure-at-__btrfs_cow_block.patch
queue-6.4/btrfs-reinsert-bgs-failed-to-reclaim.patch
queue-6.4/btrfs-insert-tree-mod-log-move-in-push_node_left.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux