]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: reimplement fdatasync support
authorChristoph Hellwig <hch@infradead.org>
Wed, 29 Feb 2012 09:53:55 +0000 (09:53 +0000)
committerBen Myers <bpm@sgi.com>
Tue, 13 Mar 2012 22:18:14 +0000 (17:18 -0500)
commitc4e2d688acca176b495d33e9e23327d38f1fe5ea
treed2b90c868fd3ad818317e3fff8448d6940afb3d5
parent57e4b0250372bf87bbc6a71bb23b137fe1c69bcc
xfs: reimplement fdatasync support

Add an in-memory only flag to say we logged timestamps only, and use it to
check if fdatasync can optimize away the log force.

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
fs/xfs/xfs_file.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_inode_item.h
fs/xfs/xfs_super.c