]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
btrfs: remove the subpage related warning message
authorQu Wenruo <wqu@suse.com>
Sat, 15 Feb 2025 05:58:06 +0000 (16:28 +1030)
committerDavid Sterba <dsterba@suse.com>
Tue, 18 Mar 2025 19:35:49 +0000 (20:35 +0100)
Since the initial enablement of block size < page size support for
btrfs in v5.15, we have hit several milestones for block size < page
size (subpage) support:

- RAID56 subpage support
  In v5.19

- Refactored scrub support to support subpage better
  In v6.4

- Block perfect (previously requires page aligned ranges) compressed write
  In v6.13

- Various error handling fixes involving subpage
  In v6.14

Finally the only missing feature is the pretty simple and harmless
inlined data extent creation, just added in previous patches.

Now btrfs has all of its features ready for both regular and subpage
cases, there is no reason to output a warning about the experimental
subpage support, and we can finally remove it now.

Acked-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c

index 52c2335ef62f0ce006994025b29cc6fec4e84b0c..0cb55944893354d653261dbe3003b57b549724a1 100644 (file)
@@ -3410,11 +3410,6 @@ int __cold open_ctree(struct super_block *sb, struct btrfs_fs_devices *fs_device
         */
        fs_info->max_inline = min_t(u64, fs_info->max_inline, fs_info->sectorsize);
 
-       if (sectorsize < PAGE_SIZE)
-               btrfs_warn(fs_info,
-               "read-write for sector size %u with page size %lu is experimental",
-                          sectorsize, PAGE_SIZE);
-
        ret = btrfs_init_workqueues(fs_info);
        if (ret)
                goto fail_sb_buffer;