Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp6924541imm; Tue, 28 Aug 2018 03:32:45 -0700 (PDT) X-Google-Smtp-Source: ANB0VdajTCpp685s9u3mDYDLvPPECwcwabAtk9/Xfds0F5mhqXLdvNBU3v02SiorIb2Gdq36YQ3D X-Received: by 2002:a63:344b:: with SMTP id b72-v6mr946734pga.184.1535452365069; Tue, 28 Aug 2018 03:32:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535452365; cv=none; d=google.com; s=arc-20160816; b=e642FGio+KY14hP8/E50hWUIZ5A/9t/auUdtMN8ewH2HfUDEdB2N86wNYJNtHx95BJ bxM4cckkBdp278+7Ilev2nOn5yYvgMzShYhmKDkdJc9CmxxFap1PVn2fnEjFyN+oT0VX YiX/omA2WmbLwS6Lobby7DDIVclG7ymkk07jiGsB18Not9p71jOaXR/SIZaMlpjHGIER Wqd+z7rkhEH0VvxHDLQ8yMZfpZuRjV0Eupzjh7dXZNyFcEN020/xkTglPOZlHEBldXzw nrC5kdX1AyVxayxH4+lA+gzkK/xYLSbus5o46k0dzOSJlGkfU8Xe7aiz/OBllzCwY6oz PtSw== 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:references:cc:to:from:subject:arc-authentication-results; bh=8yWGa7PEk2VjinpeOtUL8LXAyr+wgkMns2jifOIFd0Y=; b=jWt/3BMmA4ma03hEr1kqEjs/3c8+7tt7vEyYBHeSIqQzJhIhhx31Ueun1o7CkEF5N4 qJGjHC42Etvx07vZpvgDzhFLwEWt1PM/YpdMY+lnNiL/rljlInULHoxhoPTW621XZwbF vFhtTYTpM5swSV9grgoG2QvOl6jjvPzoxkAKoNXqORAI14bVeJi79WNcMwkZNhvkSd+r zyg8agy3EtANW87+k31onUdOVzlCPohbGFkf2yXFNdlgDdFt4eMWtqSXatjsH9xmOLsX aZpsacA3aknPIXCxgUAvFGQz03MWIkX3/BRLbvZYJWxkKGqr4Tp7Ly+yU50HiCQIuzPj wstQ== ARC-Authentication-Results: i=1; mx.google.com; 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 q4-v6si660063pll.156.2018.08.28.03.32.30; Tue, 28 Aug 2018 03:32:45 -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; 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 S1727606AbeH1OW1 (ORCPT + 99 others); Tue, 28 Aug 2018 10:22:27 -0400 Received: from www262.sakura.ne.jp ([202.181.97.72]:39939 "EHLO www262.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727264AbeH1OW1 (ORCPT ); Tue, 28 Aug 2018 10:22:27 -0400 Received: from fsav403.sakura.ne.jp (fsav403.sakura.ne.jp [133.242.250.102]) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTP id w7SAVKgY080349; Tue, 28 Aug 2018 19:31:20 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Received: from www262.sakura.ne.jp (202.181.97.72) by fsav403.sakura.ne.jp (F-Secure/fsigk_smtp/530/fsav403.sakura.ne.jp); Tue, 28 Aug 2018 19:31:20 +0900 (JST) X-Virus-Status: clean(F-Secure/fsigk_smtp/530/fsav403.sakura.ne.jp) Received: from [192.168.1.8] (softbank060157066051.bbtec.net [60.157.66.51]) (authenticated bits=0) by www262.sakura.ne.jp (8.15.2/8.15.2) with ESMTPSA id w7SAVK4Z080343 (version=TLSv1.2 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Aug 2018 19:31:20 +0900 (JST) (envelope-from penguin-kernel@i-love.sakura.ne.jp) Subject: Re: [PATCH v3] block/loop: Serialize ioctl operations. From: Tetsuo Handa To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, syzbot , syzbot , Andrew Morton References: <1527297408-4428-1-git-send-email-penguin-kernel@I-love.SAKURA.ne.jp> <748bce03-afda-4ed2-13b3-1fcd01d57770@kernel.dk> <9a9209af-c841-6034-4b4f-46d93aa0c037@i-love.sakura.ne.jp> <92bffcc8-c25d-2297-80b3-24ba99075cd6@i-love.sakura.ne.jp> Message-ID: <7986e524-1dc8-8d8e-51bc-a5671d7555cc@i-love.sakura.ne.jp> Date: Tue, 28 Aug 2018 19:31:16 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <92bffcc8-c25d-2297-80b3-24ba99075cd6@i-love.sakura.ne.jp> Content-Type: text/plain; charset=utf-8 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 Jens, did you come up with a better alternative? We have another bug which is causing many hung task reports. I do want to make progress rather than stall for another three month. On 2018/07/11 23:29, Tetsuo Handa wrote: > Since syzbot restarted testing linux-next.git , it is a good chance > to test this patch for unexpected regressions (until you come up with > a good alternative). > > On 2018/06/26 23:34, Tetsuo Handa wrote: >> Did you get any idea? >> >> On 2018/06/05 3:13, Jens Axboe wrote: >>> On 6/4/18 5:19 AM, Tetsuo Handa wrote: >>>> This problem was already ignored for 8 months. Unless we boost priority, >>>> this problem will be ignored for years. Jens, can we test this patch? >>> >>> Sorry, it's just that I _really_ hate this patch. We're making up >>> a weird locking primitive that tracks the process, with a weird >>> unlock helper that only unlocks if it's the process that is >>> holding the mutex. >>> >>> I'll try and think about this a bit, it would be nice if we had >>> a better alternative than the above. >>>