Re: some free space cache corruptions

2016-12-28 Thread Duncan
Christoph Anton Mitterer posted on Thu, 29 Dec 2016 04:43:35 +0100 as excerpted: > On Mon, 2016-12-26 at 00:12 +, Duncan wrote: >> By themselves, free-space cache warnings are minor and not a serious >> issue at all -- the cache is just that, a cache, designed to speed >> operation but not act

Re: Btrfs send does not preserve reflinked files within subvolumes.

2016-12-28 Thread Qu Wenruo
Hi, I tried just what you did, and use "btrfs receive --dump" to exam the send stream. And things works quite well: $ sudo mount /dev/sda6 /mnt/btrfs/ $ sudo btrfs subvolume create /mnt/btrfs/subv1 $ sudo xfs_io -f -c "pwrite 0 2M" /mnt/btrfs/subv1/file1 $ sudo xfs_io -f -c "reflink /mnt/btr

Re: some free space cache corruptions

2016-12-28 Thread Christoph Anton Mitterer
On Mon, 2016-12-26 at 00:12 +, Duncan wrote: > By themselves, free-space cache warnings are minor and not a serious  > issue at all -- the cache is just that, a cache, designed to speed  > operation but not actually necessary, and btrfs can detect and route  > around space-cache corruption on-t

Btrfs send does not preserve reflinked files within subvolumes.

2016-12-28 Thread Glenn Washburn
I'm having a hard time getting btrfs receive to create reflinked files and have a trivial example that I believe *should* work but doesn't. I've attached a script that I used to perform this test, so others can try to reproduce. The text file is the output of the shell script except the last comma

Re: [RFC PATCH] mm, memcg: fix (Re: OOM: Better, but still there on)

2016-12-28 Thread Minchan Kim
On Tue, Dec 27, 2016 at 04:55:33PM +0100, Michal Hocko wrote: > Hi, > could you try to run with the following patch on top of the previous > one? I do not think it will make a large change in your workload but > I think we need something like that so some testing under which is known > to make a hi

Re: [RFC PATCH] mm, memcg: fix (Re: OOM: Better, but still there on)

2016-12-28 Thread Minchan Kim
On Thu, Dec 29, 2016 at 09:31:54AM +0900, Minchan Kim wrote: > On Mon, Dec 26, 2016 at 01:48:40PM +0100, Michal Hocko wrote: > > On Fri 23-12-16 23:26:00, Nils Holland wrote: > > > On Fri, Dec 23, 2016 at 03:47:39PM +0100, Michal Hocko wrote: > > > > > > > > Nils, even though this is still highly

Re: [RFC PATCH] mm, memcg: fix (Re: OOM: Better, but still there on)

2016-12-28 Thread Minchan Kim
On Mon, Dec 26, 2016 at 01:48:40PM +0100, Michal Hocko wrote: > On Fri 23-12-16 23:26:00, Nils Holland wrote: > > On Fri, Dec 23, 2016 at 03:47:39PM +0100, Michal Hocko wrote: > > > > > > Nils, even though this is still highly experimental, could you give it a > > > try please? > > > > Yes, no pr

Incremental send receive of snapshot fails

2016-12-28 Thread Rene Wolf
Hi all I have a problem with incremental snapshot send receive in btrfs. May be my google-fu is weak, but I couldn't find any pointers, so here goes. A few words about my setup first: I have multiple clients that back up to a central server. All clients (and the server) are running a (K)Ub

Re: [PATCH] recursive defrag cleanup

2016-12-28 Thread Janos Toth F.
I still find the defrag tool a little bit confusing from a user perspective: - Does the recursive defrag (-r) also defrag the specified directory's extent tree or should one run two separate commands for completeness (one with -r and one without -r)? - What's the target scope of the extent tree def

Re: [GIT PULL] btrfs fixes and cleanups

2016-12-28 Thread Qu Wenruo
Hi Liu, At 12/15/2016 03:13 PM, Liu Bo wrote: Hi David, This is the collection of my patches targetting 4.10, I've dropped patch "Btrfs: adjust len of writes if following a preallocated extent" because of the deadlock caused by this commit. Patches are based on v4.9-rc8, and test against fstes

Re: [RFC PATCH] mm, memcg: fix (Re: OOM: Better, but still there on)

2016-12-28 Thread Michal Hocko
On Tue 27-12-16 20:33:09, Nils Holland wrote: > On Tue, Dec 27, 2016 at 04:55:33PM +0100, Michal Hocko wrote: > > Hi, > > could you try to run with the following patch on top of the previous > > one? I do not think it will make a large change in your workload but > > I think we need something like

Re: [PATCH] mm, vmscan: consider eligible zones in get_scan_count

2016-12-28 Thread Michal Hocko
; > url: > https://github.com/0day-ci/linux/commits/Michal-Hocko/mm-vmscan-consider-eligible-zones-in-get_scan_count/20161228-000917 > base: git://git.cmpxchg.org/linux-mmotm.git master > config: i386-tinyconfig (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 201609