Re: [PATCH] btrfs: sysfs: advertise zoned support among features
From: David Sterba <hidden>
Date: 2021-08-18 23:51:38
From: David Sterba <hidden>
Date: 2021-08-18 23:51:38
On Tue, Aug 10, 2021 at 08:30:51AM +0800, Anand Jain wrote:
As in the proposed patch which adds a table to figure out the correct table to add the attribute, adding to the btrfs_supported_static_feature_attrs attribute list will add only to /sys/fs/btrfs/features, however adding the attribute to btrfs_supported_feature_attrs adds to both /sys/fs/btrfs/features and /sys/fs/btrfs/uuid/features.
I can't see it in the code right now, but that would mean that eg. zoned would show up in static features once such filesystem is mounted. And that does not happen or I'm missing something.