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.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=unavailable 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 5EAA5C10F00 for ; Thu, 21 Mar 2019 10:26:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2A52121920 for ; Thu, 21 Mar 2019 10:26:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728018AbfCUK0p (ORCPT ); Thu, 21 Mar 2019 06:26:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:58352 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727966AbfCUK0p (ORCPT ); Thu, 21 Mar 2019 06:26:45 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id F385DAC84; Thu, 21 Mar 2019 10:26:43 +0000 (UTC) Received: by quack2.suse.cz (Postfix, from userid 1000) id 448F51E0CE4; Thu, 21 Mar 2019 11:26:43 +0100 (CET) Date: Thu, 21 Mar 2019 11:26:43 +0100 From: Jan Kara To: Greg KH Cc: Jan Kara , stable@vger.kernel.org, Jens Axboe , linux-block@vger.kernel.org Subject: Re: Revert commit 310ca162d77 Message-ID: <20190321102643.GE29086@quack2.suse.cz> References: <20190320125806.GD9485@quack2.suse.cz> <20190320151628.GA32063@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190320151628.GA32063@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On Wed 20-03-19 16:16:28, Greg KH wrote: > On Wed, Mar 20, 2019 at 01:58:06PM +0100, Jan Kara wrote: > > Hello, > > > > commit 310ca162d77 "block/loop: Use global lock for ioctl() operation." has > > been pushed to multiple stable trees. This patch is a part of larger series > > that overhauls the locking inside loopback device upstream and for 4.4, > > 4.9, and 4.14 stable trees only this patch from the series is applied. Our > > testing now has shown [1] that the patch alone makes present deadlocks > > inside loopback driver more likely (the openqa test in our infrastructure > > didn't hit the deadlock before whereas with the new kernel it hits it > > reliably every time). So I would suggest we revert 310ca162d77 from 4.4, > > 4.9, and 4.14 kernels. > > > > Another option would be to backport other locking fixes for the loop > > device but honestly I don't think that's a stable material - never heard > > of real users hitting problems, only syzkaller could, and we are still > > fixing up some small glitches resulting from that rework... > > > > Honza > > > > [1] https://bugzilla.suse.com/show_bug.cgi?id=1129739 > > Note, I do not have access to that bug report :( Sorry, sometimes I hate how paranoid our bugzilla is. I've mirrorred the relevant parts to: https://bugzilla.kernel.org/show_bug.cgi?id=202985 Honza -- Jan Kara SUSE Labs, CR