Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756541AbbLARww (ORCPT ); Tue, 1 Dec 2015 12:52:52 -0500 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:61786 "EHLO mx0b-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752550AbbLARwv (ORCPT ); Tue, 1 Dec 2015 12:52:51 -0500 Subject: Re: [PATCH BUGFIX V2 0/3] null_blk: fix throughput losses and hangs To: Paolo Valente , =?UTF-8?Q?Matias_Bj=c3=b8rling?= , Arianna Avanzini References: <565C7187.7050507@fb.com> <1448966899-3399-1-git-send-email-paolo.valente@unimore.it> CC: Akinobu Mita , "Luis R. Rodriguez" , Ming Lei , Mike Krinkin , From: Jens Axboe Message-ID: <565DDE60.3000800@fb.com> Date: Tue, 1 Dec 2015 10:52:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: <1448966899-3399-1-git-send-email-paolo.valente@unimore.it> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.54.13] X-Proofpoint-Spam-Reason: safe X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2015-12-01_09:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1675 Lines: 38 On 12/01/2015 03:48 AM, Paolo Valente wrote: > Hi, > here is an updated version of the patchset, differing from the > previous version only in that it reinstates the missing extra check > pointed out in [2]. For your convenience, the content of the cover > letter for the previous version follows. > > While doing some tests with the null_blk device driver, we bumped into > two problems: first, unjustified and in some cases high throughput > losses; second, actual hangs. These problems seem to be the > consequence of the combination of three causes, and this patchset > introduces a fix for each of these causes. In particular, changes > address: > . an apparent flaw in the logic with which delayed completions are > implemented: this flaw causes, with unlucky but non-pathological > workloads, actual request-completion delays to become arbitrarily > larger than the configured delay; > . the missing restart of the device queue on the completion of a request in > single-queue non-delayed mode; > . the overflow of the request-delay parameter, when extremely high values > are used (e.g., to spot bugs). > > To avoid possible confusion, we stress that these fixes *do not* have > anything to do with the problems highlighted in [1] (tests of the > multiqueue xen-blkfront and xen-blkback modules with null_blk). > > You can find more details in the patch descriptions. Thanks Paolo, added. -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/