Re: [PATCH] btrfs: add test for cases when a dio write has to fallback to a buffered write

2021-03-11 Thread Eryu Guan
On Wed, Mar 10, 2021 at 10:48:35AM +, Filipe Manana wrote: > On Sun, Mar 7, 2021 at 3:24 PM Eryu Guan wrote: > > > > On Sun, Mar 07, 2021 at 03:07:43PM +, Filipe Manana wrote: > > > On Sun, Mar 7, 2021 at 2:41 PM Eryu Guan wrote: > > > > > > > > On Thu, Feb 11, 2021 at 05:01:18PM +, f

Re: [PATCH] btrfs: add test for cases when a dio write has to fallback to a buffered write

2021-03-10 Thread Filipe Manana
On Sun, Mar 7, 2021 at 3:24 PM Eryu Guan wrote: > > On Sun, Mar 07, 2021 at 03:07:43PM +, Filipe Manana wrote: > > On Sun, Mar 7, 2021 at 2:41 PM Eryu Guan wrote: > > > > > > On Thu, Feb 11, 2021 at 05:01:18PM +, fdman...@kernel.org wrote: > > > > From: Filipe Manana > > > > > > > > Test

Re: [PATCH] btrfs: add test for cases when a dio write has to fallback to a buffered write

2021-03-07 Thread Eryu Guan
On Sun, Mar 07, 2021 at 03:07:43PM +, Filipe Manana wrote: > On Sun, Mar 7, 2021 at 2:41 PM Eryu Guan wrote: > > > > On Thu, Feb 11, 2021 at 05:01:18PM +, fdman...@kernel.org wrote: > > > From: Filipe Manana > > > > > > Test cases where a direct IO write, with O_DSYNC, can not be done and

Re: [PATCH] btrfs: add test for cases when a dio write has to fallback to a buffered write

2021-03-07 Thread Filipe Manana
On Sun, Mar 7, 2021 at 2:41 PM Eryu Guan wrote: > > On Thu, Feb 11, 2021 at 05:01:18PM +, fdman...@kernel.org wrote: > > From: Filipe Manana > > > > Test cases where a direct IO write, with O_DSYNC, can not be done and has > > to fallback to a buffered write. > > > > This is motivated by a re

Re: [PATCH] btrfs: add test for cases when a dio write has to fallback to a buffered write

2021-03-07 Thread Eryu Guan
On Thu, Feb 11, 2021 at 05:01:18PM +, fdman...@kernel.org wrote: > From: Filipe Manana > > Test cases where a direct IO write, with O_DSYNC, can not be done and has > to fallback to a buffered write. > > This is motivated by a regression that was introduced in kernel 5.10 by > commit 0eb7929

[PATCH] btrfs: add test for cases when a dio write has to fallback to a buffered write

2021-02-11 Thread fdmanana
From: Filipe Manana Test cases where a direct IO write, with O_DSYNC, can not be done and has to fallback to a buffered write. This is motivated by a regression that was introduced in kernel 5.10 by commit 0eb79294dbe328 ("btrfs: dio iomap DSYNC workaround")) and was fixed in kernel 5.11 by comm