Re: [PATCH V2] fs: New zonefs file system

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

 



On Tue, Aug 20, 2019 at 05:12:49PM +0900, Damien Le Moal wrote:
> The aggregated conventional zone file can be used as a regular file.
> Operations such as the following work.
> 
> mkfs.ext4 /mnt/cnv/0
> mount -o loop /mnt/cnv/0 /data

Should BLK_DEV_LOOP_MIN_COUNT be increased if this is enabled to
a mich higher sensible default? Right now the default is 8. Also,
can we infer this later dynamically so so this can grow at proper
scale without having to have user interaction?

For now, I mean something like:

diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index 1bb8ec575352..22ba4803b075 100644
--- a/drivers/block/Kconfig
+++ b/drivers/block/Kconfig
@@ -217,7 +217,8 @@ config BLK_DEV_LOOP
 config BLK_DEV_LOOP_MIN_COUNT
 	int "Number of loop devices to pre-create at init time"
 	depends on BLK_DEV_LOOP
-	default 8
+	default 8 if !ZONEFS FILESYSTEM
+	default 32 if ZONEFS FILESYSTEM
 	help
 	  Static number of loop devices to be unconditionally pre-created
 	  at init time.

  Luis



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux