Re: [PATCH 1/1] nilfs2: add mount option that reduces super block writes

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

 



Hi Andreas,

Because modifying NILFS_SB_FREQ requires a kernel-recompile anyway, I
gave your patch a try.
So far everything seems fine and the filesystem survived a series of power-cuts.
Although this doesn't prove the code is safe under all circumstances
of course, it seems stable enough for my use case on the raspberry pi.

I also did some tests on the raspberry with unclean shutdowns and
recovery is barely noticeable on the 8GB SD card:

unclean shutdown with recovery:
> time mount -o bad_ftl /dev/mmcblk0p3 sd_8gb
> real        0m3.552s
> user        0m0.020s
> sys        0m0.430s

mount following a proper unmount:
> time mount -o bad_ftl /dev/mmcblk0p3 sd_8gb
> real        0m1.219s
> user        0m0.020s
> sys        0m0.280s

For me the patch somehow reminds me of running ext4 with journaling
disabled - it reduces writes at the cost of longer recovery times
after an unclean shutdown. The big difference with nilfs2 is that I
don't have to worry the FS won't survive it ;)

Thanks, Clemens

PS: The only thing I don't really like is the name of the mount option ;)
--
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