From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752645Ab3LMKvG (ORCPT ); Fri, 13 Dec 2013 05:51:06 -0500 Received: from mail-vc0-f179.google.com ([209.85.220.179]:57829 "EHLO mail-vc0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752336Ab3LMKvE convert rfc822-to-8bit (ORCPT ); Fri, 13 Dec 2013 05:51:04 -0500 MIME-Version: 1.0 In-Reply-To: <52AAD8D4.2060807@gmx.de> References: <529217CD.1000204@gmx.de> <20131203140214.GB31128@quack.suse.cz> <529E3450.9000700@gmx.de> <20131203230058.GA24037@quack.suse.cz> <20131204130639.GA31973@quack.suse.cz> <52A36389.7010103@gmx.de> <20131211202639.GE1163@quack.suse.cz> <52AAD8D4.2060807@gmx.de> Date: Fri, 13 Dec 2013 11:51:02 +0100 Message-ID: Subject: Re: [uml-devel] why does index in truncate_inode_pages_range() grows so much ? From: Richard Weinberger To: =?ISO-8859-1?Q?Toralf_F=F6rster?= Cc: Jan Kara , "linux-mm@kvack.org" , Linux Kernel , UML devel Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Dec 13, 2013 at 10:52 AM, Toralf Förster wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 12/11/2013 09:26 PM, Jan Kara wrote: >> Thanks! So this works more or less as expected - trinity issued a >> read at absurdly high offset so we created pagecache page a that >> offset and tried to read data into it. That failed. We left the >> page in the pagecache where it was for reclaim to reclaim it when >> free pages are needed. Everything works as designed except we could >> possibly argue that it's not the most efficient way to use >> pages... >> >> Patch 'vfs: fix a bug when we do some dio reads with append dio >> writes' (http://www.spinics.net/lists/linux-fsdevel/msg70899.html) >> should actually change the situation and we won't unnecessarily >> cache these pages. >> > confirmed - applied to latest git tree of Linus I helps. Good to know! :-) -- Thanks, //richard From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f179.google.com (mail-qc0-f179.google.com [209.85.216.179]) by kanga.kvack.org (Postfix) with ESMTP id 603176B0080 for ; Fri, 13 Dec 2013 05:51:04 -0500 (EST) Received: by mail-qc0-f179.google.com with SMTP id i8so1345915qcq.10 for ; Fri, 13 Dec 2013 02:51:04 -0800 (PST) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [2607:f8b0:400c:c02::233]) by mx.google.com with ESMTPS id r6si1731059qaj.127.2013.12.13.02.51.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 13 Dec 2013 02:51:03 -0800 (PST) Received: by mail-vb0-f51.google.com with SMTP id 11so1143844vbe.24 for ; Fri, 13 Dec 2013 02:51:03 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <52AAD8D4.2060807@gmx.de> References: <529217CD.1000204@gmx.de> <20131203140214.GB31128@quack.suse.cz> <529E3450.9000700@gmx.de> <20131203230058.GA24037@quack.suse.cz> <20131204130639.GA31973@quack.suse.cz> <52A36389.7010103@gmx.de> <20131211202639.GE1163@quack.suse.cz> <52AAD8D4.2060807@gmx.de> Date: Fri, 13 Dec 2013 11:51:02 +0100 Message-ID: Subject: Re: [uml-devel] why does index in truncate_inode_pages_range() grows so much ? From: Richard Weinberger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-linux-mm@kvack.org List-ID: To: =?ISO-8859-1?Q?Toralf_F=F6rster?= Cc: Jan Kara , "linux-mm@kvack.org" , Linux Kernel , UML devel On Fri, Dec 13, 2013 at 10:52 AM, Toralf F=F6rster = wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 12/11/2013 09:26 PM, Jan Kara wrote: >> Thanks! So this works more or less as expected - trinity issued a >> read at absurdly high offset so we created pagecache page a that >> offset and tried to read data into it. That failed. We left the >> page in the pagecache where it was for reclaim to reclaim it when >> free pages are needed. Everything works as designed except we could >> possibly argue that it's not the most efficient way to use >> pages... >> >> Patch 'vfs: fix a bug when we do some dio reads with append dio >> writes' (http://www.spinics.net/lists/linux-fsdevel/msg70899.html) >> should actually change the situation and we won't unnecessarily >> cache these pages. >> > confirmed - applied to latest git tree of Linus I helps. Good to know! :-) --=20 Thanks, //richard -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <52AAD8D4.2060807@gmx.de> References: <529217CD.1000204@gmx.de> <20131203140214.GB31128@quack.suse.cz> <529E3450.9000700@gmx.de> <20131203230058.GA24037@quack.suse.cz> <20131204130639.GA31973@quack.suse.cz> <52A36389.7010103@gmx.de> <20131211202639.GE1163@quack.suse.cz> <52AAD8D4.2060807@gmx.de> Date: Fri, 13 Dec 2013 11:51:02 +0100 Message-ID: From: Richard Weinberger Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: linux-kernel-owner@vger.kernel.org Subject: Re: [uml-devel] why does index in truncate_inode_pages_range() grows so much ? To: =?ISO-8859-1?Q?Toralf_F=F6rster?= Cc: Jan Kara , "linux-mm@kvack.org" , Linux Kernel , UML devel List-ID: On Fri, Dec 13, 2013 at 10:52 AM, Toralf F=F6rster wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 12/11/2013 09:26 PM, Jan Kara wrote: >> Thanks! So this works more or less as expected - trinity issued a >> read at absurdly high offset so we created pagecache page a that >> offset and tried to read data into it. That failed. We left the >> page in the pagecache where it was for reclaim to reclaim it when >> free pages are needed. Everything works as designed except we could >> possibly argue that it's not the most efficient way to use >> pages... >> >> Patch 'vfs: fix a bug when we do some dio reads with append dio >> writes' (http://www.spinics.net/lists/linux-fsdevel/msg70899.html) >> should actually change the situation and we won't unnecessarily >> cache these pages. >> > confirmed - applied to latest git tree of Linus I helps. Good to know! :-) --=20 Thanks, //richard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"= in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/