[PATCH 3/3] nilfs_cleanerd.conf: try to use set_suinfo ioctl by default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <andreas.rohner@xxxxxxx>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@xxxxxxxxxxxxx>
---
 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux