Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp890999pxb; Tue, 19 Oct 2021 15:30:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy26rUSRURbpy+hDbbXUWNsDwlQRr4tIouWs7vhJD+6ma329f6vU39RLYO1QyryBJ6r1BTR X-Received: by 2002:a05:6402:350a:: with SMTP id b10mr57271517edd.345.1634682630268; Tue, 19 Oct 2021 15:30:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634682630; cv=none; d=google.com; s=arc-20160816; b=p9JX33O6nTZufmXtXpJK0phFF/83rQVm2T+u++XMW4sGytIEh6K9UK563fo2xjferN Ja7NA7gorY2lRU06v/PkIcsSuIQHbzT6osARdU7cd06fymR18VXB6n6rlKWVj2BrTlLA 5co3uV6Y9BasAJpadcjvfe/mphYUIOr3PdiKc8dPGkhtIbPKV/5Ik+yktz/B97VQzGZn MlDNZEyRPZ9g5EV9zNXs1zTqCw78BMC9GNEV7TnYPRYDy9pFEv5IqPHHVeJ2X2q+47CY bG7GxD0UlXfDr5SJZEZmAOnzQygNOA3ScA89t9Suw39WFC3JsfO0kSFo3CMLcx470uVl hKlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=CxAVpN65ej2sl22y1JSHL1CR7fzfghNGDTHMGW2HI7s=; b=Eetql1Azbo11DpqcAEucwri8ORabIBXLOBkcoxBxlu2nIRwVlL/r6mT6NmCh8lEkQU JGWZWus+oJOTQem3QqcozDALJIPfdMEC67dTCJ8mtnbbd7b9sRDK06QfCuWgtMVWOqwU XR7mHBYo5zV+gbboY4Ul3skgGygqi6LDMmCRbLFKUCwhdyOQyufWj7+9Ho1O9InH+XoN rzT7DwAVkjYxaxBWtVSQ/zZ4c70gOxbLKaVOt9hTZJs/fB9YabjzU+leTNOSD8S8Zluh EQHqyAzp1W5Lfu7922jM3BlCw7FD0Q/AQEpYVhP6WStzockGZWj4FqbbLb1UtQbjUpIM ZjRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=RyQoURPj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ne39si430139ejc.97.2021.10.19.15.30.05; Tue, 19 Oct 2021 15:30:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20210112.gappssmtp.com header.s=20210112 header.b=RyQoURPj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229723AbhJSW2X (ORCPT + 99 others); Tue, 19 Oct 2021 18:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbhJSW2W (ORCPT ); Tue, 19 Oct 2021 18:28:22 -0400 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A0C2C061746 for ; Tue, 19 Oct 2021 15:26:09 -0700 (PDT) Received: by mail-io1-xd2b.google.com with SMTP id x1so22215981iof.7 for ; Tue, 19 Oct 2021 15:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=CxAVpN65ej2sl22y1JSHL1CR7fzfghNGDTHMGW2HI7s=; b=RyQoURPjykhjcaibRBekjVUtz6XomYDbVvGGV1gY3Bu0y1FSYrX2qyG0GxAHh8z0IF rG/RyrgMm6WirXQDFvpNUbGGc+tC2e1OI4+glAtW8+7ZK/d2Ahf39Ba7A+Yuavgid6PA QGm17zXL9TYo4oQwGMqvyEjXbWN6tJHsTkIWIBnEZq3MJAeJu2fXjtWbPZctjjQO4qnx 8vf7cdGw3KgBV0bW3xClsWA44DiVbbRnBUPq43NFKbW4/QsRTC0aAqR5qSvwUBE0rHZh /Xon2EeaVjPTcbShNvl+RfFZMxnePyMZWOcdaX9N2QGaEjF5/KGT1NVHCNgfPgCrvQK3 0vHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CxAVpN65ej2sl22y1JSHL1CR7fzfghNGDTHMGW2HI7s=; b=HYJBCCTr767cBGQJIDXVqDESkyPFFh2OIOUO9NDgrwd8G7IRkbnxLEASJBpIV6tB5L ijMLAMMnb70OdJ+ou4K9/UhGCmcSl8UL9VFhfj9LXaagvev4lx9NQpNShRy+zVpvkjgT BzmmFAlpMjL7m1ce4b+IOahXVOwQOMdnuojrCjf3N5aY8CiYw3BDBzM5jik5Lr4LwPon k+n8mSfH4mMH1ZaTv0QUG7AY2xYl1JXE07WUo1mWX681J+8PkkviGerlZHoaBWUWymo8 /zEcqSYZOarOA8ATTKFwU6Lk/Z6pZMs9vR8rwAghy5d1mwFfnJphtPwg8q3bgh1AoXdU psqA== X-Gm-Message-State: AOAM5315XSOydM00mW/XCge8DSH4P86IhNRWylPKaXBLDI7oqEY7m+oo JV2jB9tpR9gYz8fEmWK5YcKDOg== X-Received: by 2002:a02:9609:: with SMTP id c9mr6213669jai.118.1634682368917; Tue, 19 Oct 2021 15:26:08 -0700 (PDT) Received: from [192.168.1.116] ([66.219.217.159]) by smtp.gmail.com with ESMTPSA id 81sm169730iou.21.2021.10.19.15.26.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Oct 2021 15:26:08 -0700 (PDT) Subject: Re: [PATCH 06/14] block: store elevator state in request To: Guillaume Tucker Cc: linux-block@vger.kernel.org, Mark Brown , "linux-kernel@vger.kernel.org" , "kernelci@groups.io" References: <20211017013748.76461-1-axboe@kernel.dk> <20211017013748.76461-7-axboe@kernel.dk> <1a08141a-407f-0fda-4b27-e9dd350c6e79@collabora.com> From: Jens Axboe Message-ID: <8654edbf-0161-5dc1-5133-2d0623628229@kernel.dk> Date: Tue, 19 Oct 2021 16:26:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <1a08141a-407f-0fda-4b27-e9dd350c6e79@collabora.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/21 4:21 PM, Guillaume Tucker wrote: > Hi Jens, > > On 17/10/2021 02:37, Jens Axboe wrote: >> Add an rq private RQF_ELV flag, which tells the block layer that this >> request was initialized on a queue that has an IO scheduler attached. >> This allows for faster checking in the fast path, rather than having to >> deference rq->q later on. >> >> Elevator switching does full quiesce of the queue before detaching an >> IO scheduler, so it's safe to cache this in the request itself. > > A kernelci.org automated bisection found that this patch > introduced a regression in next-20211019 with a NULL pointer > dereference, which only seems to be affecting QEMU but across all > architectures. > > More details about the regression can be found here: > > https://linux.kernelci.org/test/job/next/branch/master/kernel/next-20211019/plan/baseline/ > https://linux.kernelci.org/test/case/id/616ea20eb7104071c43358ea/ > > See also all the test jobs involved in the automated bisection: > > https://lava.collabora.co.uk/scheduler/device_type/qemu?dt_search=bisection-287 > > If you do send a fix, please include this trailer: > > Reported-by: "kernelci.org bot" > > > Please let us know if this seems like a valid bisection result > and if you need any help to debug the issue or try a fix. This got fixed yesterday, current tree is fine. -- Jens Axboe