]> git.itanic.dy.fi Git - linux-stable/commit
btrfs: Do not restrict writes to btrfs devices
authorJan Kara <jack@suse.cz>
Wed, 1 Nov 2023 17:43:09 +0000 (18:43 +0100)
committerChristian Brauner <brauner@kernel.org>
Sat, 18 Nov 2023 13:59:25 +0000 (14:59 +0100)
commitead622674df5a3ae575b964090bee65f6b7f805f
treefe345638cf8993ca7e4d96b9fe73203a90d943af
parented5cc702d311c14b653323d76062b0294effa66e
btrfs: Do not restrict writes to btrfs devices

Btrfs device probing code needs adaptation so that it works when writes
are restricted to its mounted devices. Since btrfs maintainer wants to
merge these changes through btrfs tree and there are review bandwidth
issues with that, let's not block all other filesystems and just not
restrict writes to btrfs devices for now.

CC: <linux-btrfs@vger.kernel.org>
CC: David Sterba <dsterba@suse.com>
CC: Josef Bacik <josef@toxicpanda.com>
CC: Chris Mason <clm@fb.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20231101174325.10596-4-jack@suse.cz
Acked-by: David Sterba <dsterba@suse.com>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/btrfs/super.c