Re: [PATCH v2] Btrfs: fix fsync of files with multiple hard links in new directories

2018-12-04 Thread David Sterba
On Wed, Nov 28, 2018 at 02:54:28PM +, fdman...@kernel.org wrote: > From: Filipe Manana > > The log tree has a long standing problem that when a file is fsync'ed we > only check for new ancestors, created in the current transaction, by > following only the hard link for which the fsync was

[PATCH v2] Btrfs: fix fsync of files with multiple hard links in new directories

2018-11-28 Thread fdmanana
From: Filipe Manana The log tree has a long standing problem that when a file is fsync'ed we only check for new ancestors, created in the current transaction, by following only the hard link for which the fsync was issued. We follow the ancestors using the VFS' dget_parent() API. This means that