Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161110AbdDULqs (ORCPT ); Fri, 21 Apr 2017 07:46:48 -0400 Received: from smtp.ctxuk.citrix.com ([185.25.65.24]:5112 "EHLO SMTP.EU.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1038936AbdDULqi (ORCPT ); Fri, 21 Apr 2017 07:46:38 -0400 X-IronPort-AV: E=Sophos;i="5.37,229,1488844800"; d="scan'208";a="44721109" Date: Fri, 21 Apr 2017 12:46:22 +0100 From: Roger Pau Monne To: Christoph Hellwig CC: NeilBrown , Jens Axboe , , , Konrad Rzeszutek Wilk , Subject: Re: [PATCH 08/11] xen-blkfront: remove bio splitting. Message-ID: <20170421114622.ymoprc7a4h3g6xqi@dhcp-3-128.uk.xensource.com> References: <149266645258.27388.14083229348123176454.stgit@noble> <149266672984.27388.11947154313852245586.stgit@noble> <20170421113620.GK12523@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20170421113620.GK12523@infradead.org> User-Agent: NeoMutt/20170306 (1.8.0) X-ClientProxiedBy: AMSPEX02CAS02.citrite.net (10.69.22.113) To AMSPEX02CL02.citrite.net (10.69.22.126) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 458 Lines: 10 On Fri, Apr 21, 2017 at 04:36:20AM -0700, Christoph Hellwig wrote: > Btw, I really don't understand why this code even looks at bios over > just requeueing the request. Can someone explain that bit to me? This was done because Linux could migrate from a host supporting indirect descriptors to a host not supporting them, and so the maximum number of segments per request could change, and the requests already on the queue might need to be split. Roger.