From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [RFC PATCH 16/17] fs: convert buffer head etc. to use immutable biovecs API. Date: Tue, 23 Dec 2014 02:51:28 -0800 Message-ID: <20141223105128.GE27600@infradead.org> References: <4287748e7d1a0fce1c951567a7688821f1a21e5e.1419241597.git.dongsu.park@profitbricks.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, Jens Axboe , Kent Overstreet , Ming Lin , Al Viro , linux-fsdevel@vger.kernel.org, linux-pm@vger.kernel.org To: Dongsu Park Return-path: Content-Disposition: inline In-Reply-To: <4287748e7d1a0fce1c951567a7688821f1a21e5e.1419241597.git.dongsu.park@profitbricks.com> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Mon, Dec 22, 2014 at 12:48:43PM +0100, Dongsu Park wrote: > From: Kent Overstreet > > Increase bio->bi_remaining instead of calling bio_get(), > and call bio_end() instead of bio_put() upon buffer_head submission. Nees an explanation on why this is done. > Also make bio submission in kernel/power/block_io.c to properly submit > bios by checking whether bio_chain is available or not. Should be a separate patch. And of course both should go into the preparation series of cleanups.