From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Andrzej Siewior Subject: Re: [PATCH] fs/f2fs: add cond_resched() to sync_dirty_dir_inodes() Date: Fri, 12 Jun 2015 15:28:27 +0200 Message-ID: <557ADE7B.2010106@linutronix.de> References: <20150220201035.GA6005@linutronix.de> <20150223233353.GA35245@jaegeuk-mac02> <20150227121314.GA21939@linutronix.de> <20150303011303.GC6541@lcm-devel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Z3P0f-0003f1-9V for linux-f2fs-devel@lists.sourceforge.net; Fri, 12 Jun 2015 13:28:37 +0000 Received: from www.linutronix.de ([62.245.132.108] helo=Galois.linutronix.de) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1Z3P0d-0005zr-GO for linux-f2fs-devel@lists.sourceforge.net; Fri, 12 Jun 2015 13:28:37 +0000 In-Reply-To: <20150303011303.GC6541@lcm-devel.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net To: Changman Lee Cc: Jaegeuk Kim , linux-f2fs-devel@lists.sourceforge.net On 03/03/2015 02:13 AM, Changman Lee wrote: > > Hi Sebastian, Hi Changman, > After this patch, your test is all done without any CPU stall, Right? > IMHO, context should be switched without cond_resched() after consumed > own time quota. So, it just reduces system latency due to yielding. > I thought another way to discard pages of inode to be evicted in merged bio > instead of submit. If so, evict() doesn't need to wait for writeback. > Just my curiousity out of this problem. Where do we stand on this? > > Thanks, > Sebastian ------------------------------------------------------------------------------