linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Documenting MS_LAZYTIME
@ 2015-02-20  8:50 Michael Kerrisk
  2015-02-20 12:32 ` Andreas Dilger
                   ` (2 more replies)
  0 siblings, 3 replies; 20+ messages in thread
From: Michael Kerrisk @ 2015-02-20  8:50 UTC (permalink / raw)
  To: Theodore Ts'o
  Cc: Ext4 Developers List, Linux btrfs Developers List, XFS Developers,
	linux-man, Linux-Fsdevel, Linux API

Hello Ted,

Based on your commit message 0ae45f63d4e, I I wrote the documentation
below for MS_LAZYTIME, to go into the mount(2) man page. Could you
please check it over and let me know if it's accurate. In particular,
I added pieces marked with "*" below that were not part of the commit
message and I'd like confirmation that they're accurate.

Thanks,

Michael

[[
       MS_LAZYTIME (since Linux 3.20)
              Only  update  filetimes (atime, mtime, ctime) on the in-
              memory version of the file  inode.   The  on-disk  time‐
              stamps are updated only when:

              (a)  the inode needs to be updated for some change unre‐
                   lated to file timestamps;

              (b)  the application  employs  fsync(2),  syncfs(2),  or
                   sync(2);

              (c)  an undeleted inode is evicted from memory; or

*             (d)  more than 24 hours have passed since the i-node was
*                  written to disk.

              This mount option significantly reduces  writes  to  the
              inode  table  for workloads that perform frequent random
              writes to preallocated files.

*             As at Linux 3.20, this option is supported only on ext4.
]]

-- 
Michael Kerrisk Linux man-pages maintainer;
http://www.kernel.org/doc/man-pages/
Author of "The Linux Programming Interface", http://blog.man7.org/

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2015-03-03  7:14 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-20  8:50 Documenting MS_LAZYTIME Michael Kerrisk
2015-02-20 12:32 ` Andreas Dilger
2015-02-20 13:22   ` Michael Kerrisk (man-pages)
2015-02-20 15:49 ` Eric Sandeen
2015-02-21  2:56   ` Theodore Ts'o
2015-02-23 12:20     ` Austin S Hemmelgarn
2015-02-23 16:24       ` Eric Sandeen
2015-02-26  8:53         ` Michael Kerrisk (man-pages)
2015-02-26  8:49     ` Michael Kerrisk (man-pages)
2015-02-26 13:31       ` Theodore Ts'o
2015-02-26 13:36         ` Michael Kerrisk (man-pages)
2015-02-27  0:04           ` Theodore Ts'o
2015-02-27  8:01             ` Michael Kerrisk (man-pages)
2015-02-27  8:08               ` Omar Sandoval
2015-02-27  8:36                 ` Michael Kerrisk (man-pages)
2015-02-27 14:18                   ` Theodore Ts'o
2015-02-27 17:51               ` Darrick J. Wong
2015-03-03  7:14                 ` Michael Kerrisk (man-pages)
2015-02-21  7:57   ` Michael Kerrisk (man-pages)
2015-02-22 18:30 ` Robert White

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).