Message ID | 1448453300-8449-2-git-send-email-anand.jain@oracle.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/utils.c b/utils.c index 2710ed7..0163915 100644 --- a/utils.c +++ b/utils.c @@ -657,10 +657,11 @@ void btrfs_list_all_fs_features(u64 mask_disallowed) continue; if (mkfs_features[i].flag & BTRFS_MKFS_DEFAULT_FEATURES) is_default = ", default"; - fprintf(stderr, "%-20s- %s (0x%llx%s)\n", + fprintf(stderr, "%-20s- %s (0x%llx, %s%s)\n", mkfs_features[i].name, mkfs_features[i].desc, mkfs_features[i].flag, + mkfs_features[i].min_ker_ver, is_default); } }
Shows min kernel version in the -O list-all output eg: (version is show with in ()) btrfs-convert -O list-all Filesystem features available: extref - increased hardlink limit per file to 65536 (0x40, 3.7, default) skinny-metadata - reduced-size metadata extent refs (0x100, 3.10, default) no-holes - no explicit hole extents for files (0x200, 3.14) mkfs.btrfs -O list-all Filesystem features available: mixed-bg - mixed data and metadata block groups (0x4, 2.7.37) extref - increased hardlink limit per file to 65536 (0x40, 3.7, default) raid56 - raid56 extended format (0x80, 3.9) skinny-metadata - reduced-size metadata extent refs (0x100, 3.10, default) no-holes - no explicit hole extents for files (0x200, 3.14) Signed-off-by: Anand Jain <anand.jain@oracle.com> --- utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)