From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752624AbcGMNSr (ORCPT ); Wed, 13 Jul 2016 09:18:47 -0400 Received: from ud19.udmedia.de ([194.117.254.59]:50885 "EHLO mail.ud19.udmedia.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133AbcGMNSj (ORCPT ); Wed, 13 Jul 2016 09:18:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 13 Jul 2016 15:18:11 +0200 From: Matthias Dahl To: Michal Hocko Cc: linux-raid@vger.kernel.org, linux-mm@kvack.org, dm-devel@redhat.com, linux-kernel@vger.kernel.org, Mike Snitzer Subject: Re: Page Allocation Failures/OOM with dm-crypt on software RAID10 (Intel Rapid Storage) In-Reply-To: <20160713121828.GI28723@dhcp22.suse.cz> References: <02580b0a303da26b669b4a9892624b13@mail.ud19.udmedia.de> <20160712095013.GA14591@dhcp22.suse.cz> <20160712114920.GF14586@dhcp22.suse.cz> <20160712140715.GL14586@dhcp22.suse.cz> <459d501038de4d25db6d140ac5ea5f8d@mail.ud19.udmedia.de> <20160713112126.GH28723@dhcp22.suse.cz> <20160713121828.GI28723@dhcp22.suse.cz> Message-ID: <74b9325c37948cf2b460bd759cff23dd@mail.ud19.udmedia.de> User-Agent: Roundcube Webmail/1.2.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Michal, many thanks for all your time and help on this issue. It is very much appreciated and I hope we can track this down somehow. On 2016-07-13 14:18, Michal Hocko wrote: > So it seems we are accumulating bios and 256B objects. Buffer heads as > well but so much. Having over 4G worth of bios sounds really > suspicious. > Note that they pin pages to be written so this might be consuming the > rest of the unaccounted memory! So the main question is why those bios > do not get dispatched or finished. Ok. It is the Block IOs that do not get completed. I do get it right that those bio-3 are already the encrypted data that should be written out but do not for some reason? I tried to figure this out myself but couldn't find anything -- what does the number "-3" state? It is the position in some chain or has it a different meaning? Do you think a trace like you mentioned would help shed some more light on this? Or would you recommend something else? I have also cc' Mike Snitzer who commented on this issue before, maybe he can see some pattern here as well. Pity that Neil Brown is no longer available as I think this is also somehow related to it being a Intel Rapid Storage RAID10... since it is the only way I can reproduce it. :( Thanks, Matthias -- Dipl.-Inf. (FH) Matthias Dahl | Software Engineer | binary-island.eu services: custom software [desktop, mobile, web], server administration