Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-16 Thread Greg KH
On Mon, Sep 16, 2019 at 01:59:47PM +0100, Filipe Manana wrote: > On Thu, Sep 12, 2019 at 8:32 AM Sasha Levin wrote: > > > > Hi, > > > > [This is an automated email] > > > > This commit has been processed because it contains a -stable tag. > > The stable tag indicates that it's relevant for the fol

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-16 Thread Filipe Manana
On Thu, Sep 12, 2019 at 8:32 AM Sasha Levin wrote: > > Hi, > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: 4.4+ > > The bot has tested the following trees: v5.2.14, v4.19.7

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Josef Bacik
On Thu, Sep 12, 2019 at 02:19:55PM +0100, Filipe Manana wrote: > On Thu, Sep 12, 2019 at 1:18 PM Josef Bacik wrote: > > > > On Tue, Sep 10, 2019 at 03:26:49PM +0100, fdman...@kernel.org wrote: > > > From: Filipe Manana > > > > > > Sometimes when fsync'ing a file we need to log that other inodes e

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Filipe Manana
On Thu, Sep 12, 2019 at 1:18 PM Josef Bacik wrote: > > On Tue, Sep 10, 2019 at 03:26:49PM +0100, fdman...@kernel.org wrote: > > From: Filipe Manana > > > > Sometimes when fsync'ing a file we need to log that other inodes exist and > > when we need to do that we acquire a reference on the inodes a

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Filipe Manana
On Thu, Sep 12, 2019 at 12:59 PM Josef Bacik wrote: > > On Tue, Sep 10, 2019 at 03:26:49PM +0100, fdman...@kernel.org wrote: > > From: Filipe Manana > > > > Sometimes when fsync'ing a file we need to log that other inodes exist and > > when we need to do that we acquire a reference on the inodes

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Josef Bacik
On Tue, Sep 10, 2019 at 03:26:49PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Sometimes when fsync'ing a file we need to log that other inodes exist and > when we need to do that we acquire a reference on the inodes and then drop > that reference using iput() after logging them.

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Josef Bacik
On Tue, Sep 10, 2019 at 03:26:49PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Sometimes when fsync'ing a file we need to log that other inodes exist and > when we need to do that we acquire a reference on the inodes and then drop > that reference using iput() after logging them.

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Nikolay Borisov
On 12.09.19 г. 14:24 ч., Filipe Manana wrote: > On Thu, Sep 12, 2019 at 12:10 PM Nikolay Borisov wrote: >> >> >> >> On 10.09.19 г. 17:26 ч., fdman...@kernel.org wrote: >>> From: Filipe Manana >>> >>> Sometimes when fsync'ing a file we need to log that other inodes exist and >>> when we need to

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Filipe Manana
On Thu, Sep 12, 2019 at 12:10 PM Nikolay Borisov wrote: > > > > On 10.09.19 г. 17:26 ч., fdman...@kernel.org wrote: > > From: Filipe Manana > > > > Sometimes when fsync'ing a file we need to log that other inodes exist and > > when we need to do that we acquire a reference on the inodes and then

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Nikolay Borisov
On 10.09.19 г. 17:26 ч., fdman...@kernel.org wrote: > From: Filipe Manana > > Sometimes when fsync'ing a file we need to log that other inodes exist and > when we need to do that we acquire a reference on the inodes and then drop > that reference using iput() after logging them. > > That gene

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Filipe Manana
On Thu, Sep 12, 2019 at 8:32 AM Sasha Levin wrote: > > Hi, > > [This is an automated email] > > This commit has been processed because it contains a -stable tag. > The stable tag indicates that it's relevant for the following trees: 4.4+ > > The bot has tested the following trees: v5.2.14, v4.19.7

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-12 Thread Sasha Levin
Hi, [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: 4.4+ The bot has tested the following trees: v5.2.14, v4.19.72, v4.14.143, v4.9.192, v4.4.192. v5.2.14: Build OK! v4.19.72: Fa

Re: [PATCH] Btrfs: fix assertion failure during fsync and use of stale transaction

2019-09-11 Thread Josef Bacik
On Tue, Sep 10, 2019 at 03:26:49PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Sometimes when fsync'ing a file we need to log that other inodes exist and > when we need to do that we acquire a reference on the inodes and then drop > that reference using iput() after logging them.