Re: [PATCH] fstests: add btrfs test for fsync after snapshot deletion

2016-03-25 Thread Eryu Guan
On Fri, Mar 25, 2016 at 12:58:52PM +0100, Holger Hoffstätte wrote: > On 03/25/16 04:53, Eryu Guan wrote: > > Test fails on v4.5 kernel as expected, but I failed to compile btrfs > > after applying this patch, seems btrfs_must_commit_transaction was not > > defined anywhere (I did grep it through th

Re: [PATCH] fstests: add btrfs test for fsync after snapshot deletion

2016-03-25 Thread Holger Hoffstätte
On 03/25/16 04:53, Eryu Guan wrote: > Test fails on v4.5 kernel as expected, but I failed to compile btrfs > after applying this patch, seems btrfs_must_commit_transaction was not > defined anywhere (I did grep it through the kernel tree, nothing showed > up), did I miss anything? > > fs/btrfs/tre

Re: [PATCH] fstests: add btrfs test for fsync after snapshot deletion

2016-03-24 Thread Eryu Guan
On Thu, Mar 24, 2016 at 05:07:21PM +, fdman...@kernel.org wrote: > From: Filipe Manana > > Test that if we delete a snapshot, delete its parent directory, create > another directory with the same name as that parent and then fsync either > the new directory or a file inside the new directory,