Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'for-6.17-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux

Pull btrfs fix from David Sterba:
"One more regression fix for a problem in zoned mode: mounting would
fail if the number of open and active zones reached a common limit
that didn't use to be checked"

* tag 'for-6.17-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
btrfs: zoned: don't fail mount needlessly due to too many active zones

+6
+6
fs/btrfs/zoned.c
··· 514 514 515 515 if (max_active_zones) { 516 516 if (nactive > max_active_zones) { 517 + if (bdev_max_active_zones(bdev) == 0) { 518 + max_active_zones = 0; 519 + zone_info->max_active_zones = 0; 520 + goto validate; 521 + } 517 522 btrfs_err(device->fs_info, 518 523 "zoned: %u active zones on %s exceeds max_active_zones %u", 519 524 nactive, rcu_dereference(device->name), ··· 531 526 set_bit(BTRFS_FS_ACTIVE_ZONE_TRACKING, &fs_info->flags); 532 527 } 533 528 529 + validate: 534 530 /* Validate superblock log */ 535 531 nr_zones = BTRFS_NR_SB_LOG_ZONES; 536 532 for (i = 0; i < BTRFS_SUPER_MIRROR_MAX; i++) {