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=-7.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,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 4313CC4338F for ; Wed, 18 Aug 2021 14:51:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2841D610D2 for ; Wed, 18 Aug 2021 14:51:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239506AbhHROwa (ORCPT ); Wed, 18 Aug 2021 10:52:30 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:53174 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239422AbhHROw3 (ORCPT ); Wed, 18 Aug 2021 10:52:29 -0400 Received: from fsav313.sakura.ne.jp (fsav313.sakura.ne.jp [153.120.85.144]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id 17IEpR7x009504; Wed, 18 Aug 2021 23:51:27 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav313.sakura.ne.jp (F-Secure/fsigk_smtp/550/fsav313.sakura.ne.jp); Wed, 18 Aug 2021 23:51:27 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/fsav313.sakura.ne.jp) Received: from [192.168.1.9] (M106072142033.v4.enabler.ne.jp [106.72.142.33]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id 17IEpRL1009501 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NO); Wed, 18 Aug 2021 23:51:27 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: [PATCH v4] block: genhd: don't call probe function with major_names_lock held To: Greg KH Cc: Christoph Hellwig , Jens Axboe , Linus Torvalds , Hannes Reinecke , Chaitanya Kulkarni , Hillf Danton , Desmond Cheong Zhi Xi , linux-block , Tyler Hicks , Pavel Tatashin References: <4e153910-bf60-2cca-fa02-b46d22b6e2c5@i-love.sakura.ne.jp> <20210818134752.GA7453@lst.de> <1f4218ca-9bfa-7d80-1c69-f5902715d8d9@i-love.sakura.ne.jp> From: Tetsuo Handa Message-ID: Date: Wed, 18 Aug 2021 23:51:24 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 2021/08/18 23:41, Greg KH wrote: > On Wed, Aug 18, 2021 at 11:34:15PM +0900, Tetsuo Handa wrote: >> On 2021/08/18 22:47, Christoph Hellwig wrote: >>> Hi Tetsuo, >>> >>> I might sound like a broken record, but we need to reduce the locking >>> complexity, not make it worse and fall down the locking cliff. I did >>> send a suggested series this morning, in which you found a bunch of >>> bugs. I'd appreciate it if you could use your superior skills to >>> actually help explain the issue and arrive at a common solution that >>> actually simplifies things instead of steaming down the locking cliff >>> full speed. Thank you very much. >> >> I posted "[PATCH] loop: break loop_ctl_mutex into loop_idr_spinlock and loop_removal_mutex" >> which reduces the locking complexity while fixing bugs, but you ignored it. Instead, >> you decided to remove cryptoloop module (where userspace doing "modprobe cryptoloop" >> will break). That is, you decided not to provide patches which can be backported. > > Do not ever worry about backporting patches. Worry about getting the > changes and code correct, stable work can come afterwards, if needed. The loop module is one of critical components for syzkaller fuzzing. Bugs which involves the loop module prevents syzkaller from finding/testing other bugs. But changes are continuously applied without careful review. Therefore, the changes and code are not getting correct. Stable work cannot come afterwards...