From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932882AbdCGQVy (ORCPT ); Tue, 7 Mar 2017 11:21:54 -0500 Received: from mail-io0-f178.google.com ([209.85.223.178]:34071 "EHLO mail-io0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755763AbdCGQVb (ORCPT ); Tue, 7 Mar 2017 11:21:31 -0500 Subject: Re: [PATCH] blk: improve order of bio handling in generic_make_request() To: Pavel Machek , Jack Wang References: <87h93blz6g.fsf@notabene.neil.brown.name> <71562c2c-97f4-9a0a-32ec-30e0702ca575@profitbricks.com> <87lgsjj9w8.fsf@notabene.neil.brown.name> <3f261bbe-dcec-db4b-947c-357a5b86a515@profitbricks.com> <20170307154652.GA8515@amd> Cc: NeilBrown , LKML , Lars Ellenberg , Kent Overstreet , Mike Snitzer , Mikulas Patocka From: Jens Axboe Message-ID: <3f93fde3-f6df-33da-fdc8-bb9234d5d695@kernel.dk> Date: Tue, 7 Mar 2017 09:21:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <20170307154652.GA8515@amd> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/07/2017 08:46 AM, Pavel Machek wrote: > On Mon 2017-03-06 10:43:59, Jack Wang wrote: >> >> >> On 06.03.2017 05:40, NeilBrown wrote: >>> On Fri, Mar 03 2017, Jack Wang wrote: >>>> >>>> Thanks Neil for pushing the fix. >>>> >>>> We can optimize generic_make_request a little bit: >>>> - assign bio_list struct hold directly instead init and merge >>>> - remove duplicate code >>>> >>>> I think better to squash into your fix. >>> >>> Hi Jack, >>> I don't object to your changes, but I'd like to see a response from >>> Jens first. >>> My preference would be to get the original patch in, then other changes >>> that build on it, such as this one, can be added. Until the core >>> changes lands, any other work is pointless. >>> >>> Of course if Jens wants a this merged before he'll apply it, I'll >>> happily do that. >>> >>> Thanks, >>> NeilBrown >> >> Hi Neil, >> >> Totally agree, let's wait for Jens's decision. >> >> Hi Jens, >> >> Please consider this fix also for stable 4.3+ > > Stable? We don't put this into stable, with exception of minimal fixes > for real bugs... What are you smoking? How is this not a real bug? -- Jens Axboe