[GIT PULL] Btrfs

2017-02-24 Thread Chris Mason
Hi Linus, My for-linus-4.11 branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus-4.11 Has a series of fixes and cleanups that Dave Sterba has been collecting: There is a pretty big variety here, cleaning up internal APIs and fixing corner cases. David Sterba

Re: [PATCH] Btrfs: fix deadlock between dedup on same file and starting writeback

2017-02-24 Thread Liu Bo
On Tue, Feb 21, 2017 at 05:14:52PM +, fdman...@kernel.org wrote: > From: Filipe Manana > > If we are deduping two ranges of the same file we need to make sure that > we lock all pages in ascending order, that is, lock first the pages from > the range with lower offset and then the pages from

Re: Downgrading kernel 4.9 to 4.4 with space_cache=v2 enabled?

2017-02-24 Thread Omar Sandoval
On Thu, Feb 23, 2017 at 08:38:02AM -0500, Austin S. Hemmelgarn wrote: > On 2017-02-23 08:19, Christian Theune wrote: > > Hi, > > > > just for future reference if someone finds this thread: there is a bit of > > output I’m seeing with this crashing kernel (unclear whether related to > > btrfs or

Re: Downgrading kernel 4.9 to 4.4 with space_cache=v2 enabled?

2017-02-24 Thread Omar Sandoval
On Fri, Feb 24, 2017 at 07:23:42AM -0500, Austin S. Hemmelgarn wrote: > On 2017-02-23 19:54, Qu Wenruo wrote: > > > > > > At 02/23/2017 06:51 PM, Christian Theune wrote: > > > Hi, > > > > > > not sure whether it’s possible, but we tried space_cache=v2 and > > > obviously after working fine in st

Re: List of corruption cases for scrub

2017-02-24 Thread Goffredo Baroncelli
Hi, On 2017-02-24 03:32, Lakshmipathi.G wrote: > Hi. > > I tried to a create list of corruption test scenarios for scrubbing process > with RAID5. > Here's the list: > https://btrfs.wiki.kernel.org/index.php/Scrub_corruption_cases > > If similar list already exists in btrfs wiki, let me know, I

Re: [GIT PULL] Btrfs bug fixes and improvements for 4.11 (2nd retry)

2017-02-24 Thread Chris Mason
On Fri, Feb 24, 2017 at 03:25:09AM +, fdman...@kernel.org wrote: From: Filipe Manana Hi Chris, since my previous pull request (sent timely) was either missed or not pulled for some reason I'm not aware of, here I send it again (with one more patch included). The following is taken from the

[GIT PULL] Btrfs bug fixes and improvements for 4.11 (2nd retry)

2017-02-24 Thread fdmanana
From: Filipe Manana Hi Chris, since my previous pull request (sent timely) was either missed or not pulled for some reason I'm not aware of, here I send it again (with one more patch included). The following is taken from the former pull request: "Please consider the following changes for the 4.

Re: Downgrading kernel 4.9 to 4.4 with space_cache=v2 enabled?

2017-02-24 Thread Austin S. Hemmelgarn
On 2017-02-23 19:54, Qu Wenruo wrote: At 02/23/2017 06:51 PM, Christian Theune wrote: Hi, not sure whether it’s possible, but we tried space_cache=v2 and obviously after working fine in staging it broke in production. Or rather: we upgraded from 4.4 to 4.9 and enabled the space_cache. Our pro