Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751866AbdISUIH (ORCPT ); Tue, 19 Sep 2017 16:08:07 -0400 Received: from gum.cmpxchg.org ([85.214.110.215]:50092 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751519AbdISUIE (ORCPT ); Tue, 19 Sep 2017 16:08:04 -0400 Date: Tue, 19 Sep 2017 16:07:59 -0400 From: Johannes Weiner To: Jens Axboe Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, clm@fb.com, jack@suse.cz Subject: Re: [PATCH 5/6] fs-writeback: move nr_pages == 0 logic to one location Message-ID: <20170919200759.GE11873@cmpxchg.org> References: <1505850787-18311-1-git-send-email-axboe@kernel.dk> <1505850787-18311-6-git-send-email-axboe@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1505850787-18311-6-git-send-email-axboe@kernel.dk> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 279 Lines: 7 On Tue, Sep 19, 2017 at 01:53:06PM -0600, Jens Axboe wrote: > Now that we have no external callers of wb_start_writeback(), > we can move the nr_pages == 0 logic into that function. > > Signed-off-by: Jens Axboe Acked-by: Johannes Weiner