Hi, > What is the segment size that NILFS uses? > Is it possible to tune the segment size, perhaps by changing constants
You can specify the segmnent size by mkfs.nilfs2 -c and -B options. mkfs.nilfs2 [-b block-size] [-B blocks-per-segment] ... Default are: block-size == 4096 (byte), blocks-per-segment == 2048, so, default segment size is 8Mbyte. (They are coded in util/sbin/mkfs/mkfs.h) > Are the segments aligned in the address space of the block device? > That is, if each segment is 1MB, say, do the first one start in Yes. So, user usable data blocks of the first segment may be some blocks shorter for boot block and super blocks. Amagai Yoshiji NILFS team, NTT http://www.nilfs.org/ _______________________________________________ users mailing list [email protected] https://www.nilfs.org/mailman/listinfo/users
