From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 21 Sep 2017 10:33:39 -0700 From: Christoph Hellwig To: Jens Axboe Cc: Christoph Hellwig , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, hannes@cmpxchg.org, clm@fb.com, jack@suse.cz Subject: Re: [PATCH 7/7] fs-writeback: only allow one inflight and pending full flush Message-ID: <20170921173339.GA13384@infradead.org> References: <1505921582-26709-1-git-send-email-axboe@kernel.dk> <1505921582-26709-8-git-send-email-axboe@kernel.dk> <20170921150510.GH8839@infradead.org> <728d4141-8d73-97fb-de08-90671c2897da@kernel.dk> <3682c4c2-6e8a-e883-9f62-455ea2944496@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3682c4c2-6e8a-e883-9f62-455ea2944496@kernel.dk> Sender: owner-linux-mm@kvack.org List-ID: On Thu, Sep 21, 2017 at 10:00:25AM -0600, Jens Axboe wrote: > Something like the below would fit on top to do that. Gets rid of the > allocation and embeds the work item for global start-all in the > bdi_writeback structure. Something like that. Although if we still kalloc the global wb we wouldn't have to expose all the details in the header. -- 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