xfs: implement the lazytime mount option
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Mar 2018 01:04:00 +0000 (17:04 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 12 Mar 2018 03:27:55 +0000 (20:27 -0700)
commitc3b1b13190aec6d7450971b5ff10beaec04af558
treec4aff8b7ffa76e58b26a3b69f2726161c5ef06c0
parent0d07e5573ffb3f3b941ca4c2df44f386319b1686
xfs: implement the lazytime mount option

Use the VFS dirty inode tracking for lazytime inodes only, and just
log them in ->dirty_inode.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_iops.c
fs/xfs/xfs_super.c
fs/xfs/xfs_trans_inode.c