Change is_feature_enabled() to avoid loading the bitmaps from disk
when checking the filesystem features.
Test-Parameters: trivial
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I7017e3ffce4ce745b1746229a5c219886c479bf9
Reviewed-on: https://review.whamcloud.com/25671
Tested-by: Jenkins
Reviewed-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
char enabled_features[4096] = "";
int ret = 1;
- snprintf(cmd, sizeof(cmd), "%s -R features %s 2>&1",
+ snprintf(cmd, sizeof(cmd), "%s -c -R features %s 2>&1",
DEBUGFS, devpath);
/* Using popen() instead of run_command() since debugfs does