btrfs: sysfs updates for 3.14
cover btrfs: sysfs updates for 3.14
David Sterba (2):
btrfs: sysfs: don't show reserved incompat feature
btrfs: sysfs: list the NO_HOLES feature
fs/btrfs/sysfs.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.9
PATCH 1/2 btrfs: sysfs: don't show reserved incompat feature
The COMPRESS_LZOv2 incompat featue is currently not implemented, the bit is only reserved, no point to list it in sysfs.
Signed-off-by David Sterba <[email protected]>
--- fs/btrfs/sysfs.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
fs/btrfs/sysfs.c +0 -2
@@ -198,7 +198,6 @@ BTRFS_FEAT_ATTR_INCOMPAT(mixed_backref, MIXED_BACKREF);BTRFS_FEAT_ATTR_INCOMPAT (default_subvol,DEFAULT_SUBVOL );BTRFS_FEAT_ATTR_INCOMPAT (mixed_groups,MIXED_GROUPS );BTRFS_FEAT_ATTR_INCOMPAT (compress_lzo,COMPRESS_LZO ); -BTRFS_FEAT_ATTR_INCOMPAT (compress_lzov2, COMPRESS_LZOv2);BTRFS_FEAT_ATTR_INCOMPAT (big_metadata,BIG_METADATA );BTRFS_FEAT_ATTR_INCOMPAT (extended_iref,EXTENDED_IREF );BTRFS_FEAT_ATTR_INCOMPAT (raid56,RAID56 );
@@ -209,7 +208,6 @@ static struct attribute *btrfs_supported_feature_attrs[] = {BTRFS_FEAT_ATTR_PTR (default_subvol),BTRFS_FEAT_ATTR_PTR (mixed_groups),BTRFS_FEAT_ATTR_PTR (compress_lzo), -BTRFS_FEAT_ATTR_PTR (compress_lzov2),BTRFS_FEAT_ATTR_PTR (big_metadata),BTRFS_FEAT_ATTR_PTR (extended_iref), BTRFS_FEAT_ATTR_PTR(raid56),
Signature · 1 line
1.7.9
PATCH 2/2 btrfs: sysfs: list the NO_HOLES feature
In reply to David SterbaSigned-off-by David Sterba <[email protected]>
--- fs/btrfs/sysfs.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
fs/btrfs/sysfs.c +2 -0
@@ -202,6 +202,7 @@ BTRFS_FEAT_ATTR_INCOMPAT(big_metadata, BIG_METADATA);BTRFS_FEAT_ATTR_INCOMPAT (extended_iref,EXTENDED_IREF );BTRFS_FEAT_ATTR_INCOMPAT (raid56,RAID56 );BTRFS_FEAT_ATTR_INCOMPAT (skinny_metadata,SKINNY_METADATA ); +BTRFS_FEAT_ATTR_INCOMPAT (no_holes,NO_HOLES );static struct attribute *btrfs_supported_feature_attrs[] = {BTRFS_FEAT_ATTR_PTR (mixed_backref),
@@ -212,6 +213,7 @@ static struct attribute *btrfs_supported_feature_attrs[] = {BTRFS_FEAT_ATTR_PTR (extended_iref),BTRFS_FEAT_ATTR_PTR (raid56),BTRFS_FEAT_ATTR_PTR (skinny_metadata), +BTRFS_FEAT_ATTR_PTR (no_holes), NULL };
Signature · 1 line
1.7.9