Re: Is the checkpoint interval adjustable?

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

 



On Wed, Jul 31, 2013 at 04:02:29PM -0400, Mike Audia wrote:
> I believe 30 sec is the default for the checkpoint interval.  Is this adjustable?

It doesn't look like it.  It looks like it's implemented with raw '30's
in the code.

                delay = HZ * 30;
...
                    (now < cur->start_time || now - cur->start_time <
30)) {

If you want more frequent forced commits you could always syncfs()
regularly from userspace, I suppose.

- z
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" 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 NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux