Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp596521ima; Fri, 1 Feb 2019 08:00:42 -0800 (PST) X-Google-Smtp-Source: ALg8bN6UkUBXcNG4aMuXXNkfV+2EY1/bmvdpEt2jDzfc1QTu1tUzTr/ntxf9KdVrH15Ch/7UVnqG X-Received: by 2002:a17:902:8687:: with SMTP id g7mr39634726plo.96.1549036842272; Fri, 01 Feb 2019 08:00:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549036842; cv=none; d=google.com; s=arc-20160816; b=LVrSDt8MBsP/Pw3cW6T/1SjZVPKFWPUGKQKOlkJWMzTw0JdxycFZ+Rc+f+gv735igm wQ/ZU5S62nURXC7zZbrcrlmtinSOBhFIsyTd8XYGl+tFj/o3TKHilNTRrOPtnLY81zSc eRuilWzlSgLeIiK+TzaMFESAfdZLLuncDv/JyLlZ3ko3d9iutKbQwLR+ktQVIxoueFMp 1pgyTkywUwIYj2qlZjRaMse/FbsmN3cg4Oiot/bV6/8Z4z/DXgK+QihGJK+j+OUFstcm jIj+SmadLXCYXR9cdMmBUqRH+9rbJqY3ThHVBEu+T+HWKRV7L4SgmVgC/0qpzWIx8nVt u2iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=IWn3CZQuKWLoUJYtYmiJuY7SBDmhOGoL6jV7LsMfx04=; b=zHAtJ4EBIlQa9DhmIPhpr5rMeKrlFbiTOqEvZYnTWCwLbf9xfP13E0NDAHQhxSPwrc Rdo54i4mzwDDyOk9MKJWmy1l1s2ios921YCM8wK9bPcjPg4MkfvVbXpAFyXxa12TN/Ld h0WDLAKh7qu6J0ygztPD9Nus+SitK7TP5J62xaNZervQEvGxDXUM7m7iRoigEwPhNm82 /gDHb3LL18MAtdcNLdJOLYd2LL50xgY09XzYfsNGhBgDTdBYqyCil5awYkGS9OhKJkiu HmBiVTscYjbblgdRARlkcuN9wNCu8c87Cz60TXwfcdDy5RvwQq/Bejvr0HSyA8Siy1jE hphA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="b/EOre59"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r34si7439325pga.242.2019.02.01.08.00.25; Fri, 01 Feb 2019 08:00:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="b/EOre59"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729891AbfBAP7E (ORCPT + 99 others); Fri, 1 Feb 2019 10:59:04 -0500 Received: from mail.kernel.org ([198.145.29.99]:36702 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726172AbfBAP7E (ORCPT ); Fri, 1 Feb 2019 10:59:04 -0500 Received: from [192.168.0.101] (unknown [49.65.250.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D1D6821872; Fri, 1 Feb 2019 15:59:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1549036743; bh=89BHddSjWdZeO4ULwEwBuB2J+/3DPpDeLOjVglQCZKc=; h=Subject:To:References:From:Date:In-Reply-To:From; b=b/EOre59ac+cOOIAaQC34b6x5+wBn6tUuwDkTFJDloQk4NkGPflyFKQ84zCajG5Mx 4at8hQx0wZ5V1Q8Qa5dMpG+r7hWQjir0+qngK7mj9G9WYhAFxvzytTGw/gcJpcLMTL cX32guiY9r+SUdaN8c/sh1WPRYbPXRC0xelHFgN4= Subject: Re: [f2fs-dev] [PATCH 4/7] f2fs: don't wake up too frequently, if there is lots of IOs To: Jaegeuk Kim , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net References: <20190128234717.77225-1-jaegeuk@kernel.org> <20190128234717.77225-4-jaegeuk@kernel.org> From: Chao Yu Message-ID: Date: Fri, 1 Feb 2019 23:58:55 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20190128234717.77225-4-jaegeuk@kernel.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-1-29 7:47, Jaegeuk Kim wrote: > Otherwise, it wakes up discard thread which will sleep again by busy IOs > in a loop. > > Signed-off-by: Jaegeuk Kim Reviewed-by: Chao Yu Thanks,