All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] btrfs: sysfs updates for 3.14
@ 2014-01-21 17:55 David Sterba
  2014-01-21 17:56 ` [PATCH 1/2] btrfs: sysfs: don't show reserved incompat feature David Sterba
  2014-01-21 17:56 ` [PATCH 2/2] btrfs: sysfs: list the NO_HOLES feature David Sterba
  0 siblings, 2 replies; 3+ messages in thread
From: David Sterba @ 2014-01-21 17:55 UTC (permalink / raw)
  To: linux-btrfs; +Cc: clm, David Sterba

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(-)

-- 
1.7.9


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] btrfs: sysfs: don't show reserved incompat feature
  2014-01-21 17:55 [PATCH 0/2] btrfs: sysfs updates for 3.14 David Sterba
@ 2014-01-21 17:56 ` David Sterba
  2014-01-21 17:56 ` [PATCH 2/2] btrfs: sysfs: list the NO_HOLES feature David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2014-01-21 17:56 UTC (permalink / raw)
  To: linux-btrfs; +Cc: clm, David Sterba

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 <dsterba@suse.cz>
---
 fs/btrfs/sysfs.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index ba94b277e98d..1a893860d66b 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -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),
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] btrfs: sysfs: list the NO_HOLES feature
  2014-01-21 17:55 [PATCH 0/2] btrfs: sysfs updates for 3.14 David Sterba
  2014-01-21 17:56 ` [PATCH 1/2] btrfs: sysfs: don't show reserved incompat feature David Sterba
@ 2014-01-21 17:56 ` David Sterba
  1 sibling, 0 replies; 3+ messages in thread
From: David Sterba @ 2014-01-21 17:56 UTC (permalink / raw)
  To: linux-btrfs; +Cc: clm, David Sterba

Signed-off-by: David Sterba <dsterba@suse.cz>
---
 fs/btrfs/sysfs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/fs/btrfs/sysfs.c b/fs/btrfs/sysfs.c
index 1a893860d66b..782374d8fd19 100644
--- a/fs/btrfs/sysfs.c
+++ b/fs/btrfs/sysfs.c
@@ -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
 };
 
-- 
1.7.9


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-01-21 17:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-21 17:55 [PATCH 0/2] btrfs: sysfs updates for 3.14 David Sterba
2014-01-21 17:56 ` [PATCH 1/2] btrfs: sysfs: don't show reserved incompat feature David Sterba
2014-01-21 17:56 ` [PATCH 2/2] btrfs: sysfs: list the NO_HOLES feature David Sterba

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.