From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C3D4C2D0B1 for ; Fri, 7 Feb 2020 07:10:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 661DF20838 for ; Fri, 7 Feb 2020 07:10:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726136AbgBGHKQ (ORCPT ); Fri, 7 Feb 2020 02:10:16 -0500 Received: from szxga06-in.huawei.com ([45.249.212.32]:51050 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726130AbgBGHKQ (ORCPT ); Fri, 7 Feb 2020 02:10:16 -0500 Received: from DGGEMS412-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 02ACA5D67E5839828354; Fri, 7 Feb 2020 15:10:14 +0800 (CST) Received: from [127.0.0.1] (10.173.220.66) by DGGEMS412-HUB.china.huawei.com (10.3.19.212) with Microsoft SMTP Server id 14.3.439.0; Fri, 7 Feb 2020 15:10:02 +0800 Subject: Re: [PATCH] block: revert pushing the final release of request_queue to a workqueue. From: "yukuai (C)" To: Bart Van Assche , , , , , , , CC: , , , , References: <20200206111052.45356-1-yukuai3@huawei.com> <51b4cd75-2b19-3e4d-7ead-409c77c44b70@acm.org> Message-ID: Date: Fri, 7 Feb 2020 15:10:01 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.173.220.66] X-CFilter-Loop: Reflected Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 2020/2/7 14:02, yukuai (C) wrote: > And I do agree that commit 7b36a7189fc3 is the right > one. My apologize that this is a mistake. Commit db6d99523560 is the one that makes it safe to revert commit dc9edc44de6c. Because Commit db6d99523560 remove blk_exit_rl() from blkg_free(). blkg_release call_rcu --> can't sleep inside this __blkg_release blkg_free blk_exit_rl blk_put_queue