On Wed, Apr 01, 2020 at 09:17:05PM -0700, Darrick J. Wong wrote: > From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> > > Reflink should force the log out to disk if the filesystem was mounted > with wsync, the same as most other operations in xfs. Looks reasonable. That being said I really hate the way we handle this - I've been wanting to rework the wsync/dirsync code to just mark as transaction as dirsync or wsync and then let xfs_trans_commit handle checking if the file system is mounted with the option to clean this mess up. Let me see if I could resurrect that quickly.