Re: [PATCH 1/2] Btrfs: kill btrfs_clear_path_blocking

2018-08-19 Thread Liu Bo
On Fri, Aug 17, 2018 at 10:24:58AM +0300, Nikolay Borisov wrote: > > > On 17.08.2018 00:07, Liu Bo wrote: > > Btrfs's btree locking has two modes, spinning mode and blocking mode, > > while searching btree, locking is always acquired in spinning mode and > > then converted to blocking mode if nec

[patch] file dedupe (and maybe clone) data corruption (was Re: [PATCH] generic: test for deduplication between different files)

2018-08-19 Thread Dave Chinner
[cc linux-fsdevel now, too] On Mon, Aug 20, 2018 at 09:11:26AM +1000, Dave Chinner wrote: > [cc linux-...@vger.kernel.org] > > On Fri, Aug 17, 2018 at 09:39:24AM +0100, fdman...@kernel.org wrote: > > From: Filipe Manana > > > > Test that deduplication of an entire file that has a size that is n

Re: [PATCH] generic: test for deduplication between different files

2018-08-19 Thread Dave Chinner
[cc linux-...@vger.kernel.org] On Fri, Aug 17, 2018 at 09:39:24AM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Test that deduplication of an entire file that has a size that is not > aligned to the filesystem's block size into a different file does not > corrupt the destination's

Re: [PATCH] generic: test for deduplication between different files

2018-08-19 Thread Filipe Manana
On Sun, Aug 19, 2018 at 5:19 PM, Eryu Guan wrote: > On Sun, Aug 19, 2018 at 04:41:31PM +0100, Filipe Manana wrote: >> On Sun, Aug 19, 2018 at 3:07 PM, Eryu Guan wrote: >> > On Fri, Aug 17, 2018 at 09:39:24AM +0100, fdman...@kernel.org wrote: >> >> From: Filipe Manana >> >> >> >> Test that dedupl

Re: [PATCH] generic: test for deduplication between different files

2018-08-19 Thread Eryu Guan
On Sun, Aug 19, 2018 at 04:41:31PM +0100, Filipe Manana wrote: > On Sun, Aug 19, 2018 at 3:07 PM, Eryu Guan wrote: > > On Fri, Aug 17, 2018 at 09:39:24AM +0100, fdman...@kernel.org wrote: > >> From: Filipe Manana > >> > >> Test that deduplication of an entire file that has a size that is not > >>

Re: [PATCH] generic: test for deduplication between different files

2018-08-19 Thread Filipe Manana
On Sun, Aug 19, 2018 at 3:07 PM, Eryu Guan wrote: > On Fri, Aug 17, 2018 at 09:39:24AM +0100, fdman...@kernel.org wrote: >> From: Filipe Manana >> >> Test that deduplication of an entire file that has a size that is not >> aligned to the filesystem's block size into a different file does not >> c

Re: [PATCH] generic: test for deduplication between different files

2018-08-19 Thread Eryu Guan
On Fri, Aug 17, 2018 at 09:39:24AM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > Test that deduplication of an entire file that has a size that is not > aligned to the filesystem's block size into a different file does not > corrupt the destination's file data. > > This test is mot

Re: lazytime mount option—no support in Btrfs

2018-08-19 Thread Andrei Borzenkov
Отправлено с iPhone > 19 авг. 2018 г., в 11:37, Martin Steigerwald написал(а): > > waxhead - 18.08.18, 22:45: >> Adam Hunt wrote: >>> Back in 2014 Ted Tso introduced the lazytime mount option for ext4 >>> and shortly thereafter a more generic VFS implementation which was >>> then merged into

Re: lazytime mount option—no support in Btrfs

2018-08-19 Thread Martin Steigerwald
waxhead - 18.08.18, 22:45: > Adam Hunt wrote: > > Back in 2014 Ted Tso introduced the lazytime mount option for ext4 > > and shortly thereafter a more generic VFS implementation which was > > then merged into mainline. His early patches included support for > > Btrfs but those changes were removed