Skip to contentSkip to conversation

ext4: Add batched_discard into ext4 feature list

PATCH New Lukas Czerner 1 participant 1 message Oct 21, 2010 ext4 file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ext4: Add batched_discard into ext4 feature list

Should be applied on the top of "lazy inode table initialization" and "batched discard support" patch-sets.

---
 fs/ext4/super.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
fs/ext4/super.c +2 -0
index b1cd3d0..3cba1b9 100644
@@ -2456,9 +2456,11 @@ static struct attribute *ext4_attrs[] = {
 
 /* Features this copy of ext4 supports */
 EXT4_INFO_ATTR(lazy_itable_init);
+EXT4_INFO_ATTR(batched_discard);
 
 static struct attribute *ext4_feat_attrs[] = {
 	ATTR_LIST(lazy_itable_init),
+	ATTR_LIST(batched_discard),
 	NULL,
 };
 
Signature · 1 line
1.7.2.3