Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2580155imm; Thu, 11 Oct 2018 12:34:41 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Zj8dE9f732TY2c+5F3vOwUFGWS2fQ37sv6rbhEHjxrkIZ1RKC/+vF3qZRn7QNA4C/kWsu X-Received: by 2002:a17:902:246a:: with SMTP id m39-v6mr2796540plg.57.1539286481526; Thu, 11 Oct 2018 12:34:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539286481; cv=none; d=google.com; s=arc-20160816; b=ut0UJ0qNMxZEGPMvR8uw53oBagyxhkYN57gPqY9TbAnb5a0sI4UkmBIv2JuRbg5iNy N8kT4z6wyg+cJPSRl7g0BCDFoTh1B+ZvcyyxhiSOtKFuMxlIPsfvHunb3/LP9XnJChUU Aya4ioHRp+O3lIG5wewtHJWQ8s0mCno5AarzKr7tzas0d8wvppqUAmy4PGYUBlhIsIVa hahuTHWIOkzVayHnAixK2p2rdrco2wBu2K8u6GI7YdTouIZtz94/xw1zTMYEbvlAvSR4 JKg645L+PtZMwkjXRWdojrPICpq3fJjeJQDJGzTL+c14WW0BJJkfgxnMVxIQRRGvrzW7 dlAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=oTlgpaRAxwdinROadk6CmluxB4aHAyZnJ1nqE+Wlkss=; b=xx8VJHsHciwduOXaQSs4o5YtstmLcCtgVE3ZOk1t91nEtWR1lXp96OqZ/u2DMlLUWE snb0s9Ej6P7sDfzrL75MrE1ZJH+/K/o8yp8Ald8x12qdLyVQmGgSD19Ct/xqm8p1j6RE 1PKQN3yBBwpmIGzeMSFnaPM7xJIAp3pAa49FTlFAxoyeLMHWR3rfPwDZ8b4YJ5rSSjSU P3jH6Yis8QazrToO0PQym1AMKbka9FYxCgfttdkk/6YSRCLVg2dElrPKolzkbGXHBPYp Cgf+aSOPXR3Lo9fQexYeXdGIWboNVPL4bIY4c/+WqBLvmuDhXOJy6R+J4rjnYH4wHs6h GRmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=YsuBOeXV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f76-v6si33320386pfa.73.2018.10.11.12.34.26; Thu, 11 Oct 2018 12:34:41 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=YsuBOeXV; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728558AbeJLBO4 (ORCPT + 99 others); Thu, 11 Oct 2018 21:14:56 -0400 Received: from mail-it1-f180.google.com ([209.85.166.180]:50689 "EHLO mail-it1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727274AbeJLBO4 (ORCPT ); Thu, 11 Oct 2018 21:14:56 -0400 Received: by mail-it1-f180.google.com with SMTP id k206-v6so8695202ite.0 for ; Thu, 11 Oct 2018 10:46:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=oTlgpaRAxwdinROadk6CmluxB4aHAyZnJ1nqE+Wlkss=; b=YsuBOeXV5yGM5wwjCHQHYm0i3GUWAu29wn1Eru8pox5hhy4UxYGKlueo7ZYgoBVVUo QDGNw3InqRtAJILSgMItYbc07CzbTaugDm+njJZXQFYBr6FQsWHx7M2ShoLbldhJh4YG R4SKzoEkFwtqp9gtAzRE8j3/tDGHZkVCnGnf5sa4wr4szG8Id1Zwr9vJGuG0OyRsp2zQ QpzlISp6YkbSxKtCqJFchIaTmNeTCf+SUI2Fd+ifTMODUl74UADysqQ8SiMhsFoIPwre 6XEQDO/twXQv035tTjHuG9KZx98WQ/tseNe+1ZLlDsmpY+55kZ19YgQ6ukemT81h1Orv Sa/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; 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=oTlgpaRAxwdinROadk6CmluxB4aHAyZnJ1nqE+Wlkss=; b=WWELupTNYpAW90uUZwN40GvIupgdhHSA0QPKgR+3ZJUWg4/91GWPe7/EEFeunSUZh3 7yoNbgPPzgOFsPPQ6Y0ghSEgprWZAdPXBCgUSC5VhL3ljhgzYWrOAaZvplifvn8FlOFd usr+sQBU5fuVzWe0PDzoftlZtB4EHze9ny634MvW0kx69qIbrSbJERYtnp2aFUaR6U/D MqNFhYJSFUqQQzQMzcUtPrMK4nBTJCQxJgeHPcQJ8fuqBRt7aQjuQQ8RKkb7REs6EaQh 6NfWRGcB5KCriZn6tkv1kY4PlaHgPCHVs3j6hHPR4ATxnl+7/4MGTXmU8GK7Qq4p/cJG e/ow== X-Gm-Message-State: ABuFfojCJYxBv6auPMBUrrKYtiS9ED8BCMkeNQdx8lpLu35ToJC8xxLy XWY8LAT91eWyTiTyatMlwohkpcLxP0Y= X-Received: by 2002:a24:455c:: with SMTP id y89-v6mr2160758ita.67.1539280000361; Thu, 11 Oct 2018 10:46:40 -0700 (PDT) Received: from [192.168.1.56] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id h2-v6sm8509922iok.85.2018.10.11.10.46.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Oct 2018 10:46:39 -0700 (PDT) Subject: Re: [RESEND][PATCH v2] cfq: clear queue pointers from cfqg after unpinning them in cfq_pd_offline To: "Maciej S. Szmigiero" Cc: Caspar Zhang , jiufei.xue@linux.alibaba.com, Tejun Heo , Joseph Qi , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org References: From: Jens Axboe Message-ID: <3abb177f-d6ba-7f7b-e8a6-d27e8cf388a0@kernel.dk> Date: Thu, 11 Oct 2018 11:46:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=iso-8859-2 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/10/18 3:16 PM, Maciej S. Szmigiero wrote: > BFQ is already doing a similar thing in its .pd_offline_fn() method > implementation. > > While it seems that after commit 4c6994806f70 > ("blk-throttle: fix race between blkcg_bio_issue_check() and cgroup_rmdir()") > was reverted leaving these pointers intact no longer causes crashes > clearing them is still a sensible thing to do to make the code more robust. Applied, thanks. -- Jens Axboe