Now set_suinfo ioctl is supported by nilfs2 kernel module in mainline.
This changes nilfs_cleanerd so that it tries to use the feature by
default.  If it's not supported by the underlying kernel, the feature
will be disabled automatically.

Cc: Andreas Rohner <[email protected]>
Signed-off-by: Ryusuke Konishi <[email protected]>
---
 sbin/cleanerd/nilfs_cleanerd.conf |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/cleanerd/nilfs_cleanerd.conf 
b/sbin/cleanerd/nilfs_cleanerd.conf
index 79d3fce..05cd9d4 100644
--- a/sbin/cleanerd/nilfs_cleanerd.conf
+++ b/sbin/cleanerd/nilfs_cleanerd.conf
@@ -69,7 +69,7 @@ mc_min_reclaimable_blocks     1%
 
 # enable set_suinfo ioctl if supported
 # (needed for min_reclaimable_blocks)
-#use_set_suinfo
+use_set_suinfo
 
 # Use mmap when reading segments if supported.
 use_mmap
-- 
1.7.9.4

--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to