Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5750887ybi; Sun, 7 Jul 2019 11:44:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgN9vRtC2oS2qg9ZEuHcWWuxMEfUMksKBWKQYi1OOdnRsZN3z3VmamMKl2056xGXHpUUiq X-Received: by 2002:a63:6904:: with SMTP id e4mr710782pgc.321.1562525054275; Sun, 07 Jul 2019 11:44:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562525054; cv=none; d=google.com; s=arc-20160816; b=axO4FdArjCOiqsr2BW8ZZV+1cmcDV7J8Xk+LYPdtY8TIyo2G+nNfnHwZ1i9LPV9+jN KaCbnInM58Bbx4I1fX233CXZFgfO29Oggf5njtU3p6fC1QpPwYkVMmoYVVz5KLw4EqwV GLAP3gcjGZpQW/jCSshRAbsIZFSb64Ieq7yP1TDHq6uWUCCyk4myFrVgcWONlU+0gOGJ XtyNCCt+IvQVB/0zxMTwt9jD3S1fUmJ2WpAefruM3F4iOL5mL37l48Z/j6XbYO1sjLQ4 lo6KtjXN+nsnhKf7TXxqqER+b43VgPIx/3EILePvzS+NknuaoiJPBGGvMasduYupomPc jtqQ== 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:mime-version :date:in-reply-to:references:message-id:cc:to:subject:from :dkim-signature:dkim-signature; bh=owTjbI7UdD8VgA6b1BMAffbWT0iESkUoHZSCvU4Uh8I=; b=An+G39uDTLEtiKZJM+6DcUh+4rOcyLCs/6wm0eHk89WovWn492utA95Q8IMLPmWShS Cj/XBoXvaUzxAFwatjb8etHaJZN/QwsRm3a+r7pAg8KOACd4tRLJpSor/24Lck/hlqmn D1Mm+0UNRAo3fJNriRYQYl7FoN4BImDMz/cUrYhf2hTmVrc9GJTvWIC8MBNUJLsb05eK pSAbqA7Z0NOmdcTfl7/A37EV0ykOyacDgmgd8n4EVPI2+Xqg7jk08FHFOcYYZy4zWrK1 PvBUHk5PXJQVgF30uO2fmJNrj8DSKybDBh6Z67TOlToLcwFJHB9+TjX85w2tglV1OkuS 8QGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexedi.com header.s=mandrill header.b=bFVa8DZS; dkim=pass header.i=@mandrillapp.com header.s=mandrill header.b=n6bkfqSy; 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 o6si16917779pfb.230.2019.07.07.11.43.58; Sun, 07 Jul 2019 11:44:14 -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=@nexedi.com header.s=mandrill header.b=bFVa8DZS; dkim=pass header.i=@mandrillapp.com header.s=mandrill header.b=n6bkfqSy; 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 S1727246AbfGGSnP (ORCPT + 99 others); Sun, 7 Jul 2019 14:43:15 -0400 Received: from mail180-22.suw31.mandrillapp.com ([198.2.180.22]:44907 "EHLO mail180-22.suw31.mandrillapp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726605AbfGGSnP (ORCPT ); Sun, 7 Jul 2019 14:43:15 -0400 X-Greylist: delayed 1801 seconds by postgrey-1.27 at vger.kernel.org; Sun, 07 Jul 2019 14:43:14 EDT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=mandrill; d=nexedi.com; h=From:Subject:To:Cc:Message-Id:References:In-Reply-To:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; i=kirr@nexedi.com; bh=owTjbI7UdD8VgA6b1BMAffbWT0iESkUoHZSCvU4Uh8I=; b=bFVa8DZSq7eUa+ec2dXzdRxVhLourcYkZxoJ79tXH3iisWmQ/aw9rM0d5oBBFeSHnN+l5VudB3bK oL+PVFRBbZg7IPdlrbpWeIKWHrOBf365b0/sVcSe2DM8blwuNO09Vr3hHF0tOHkWu7X+7tS7YhWX VY7deDj1JODPdP4O7FA= Received: from pmta03.mandrill.prod.suw01.rsglab.com (127.0.0.1) by mail180-22.suw31.mandrillapp.com id h48uk422sc03 for ; Sun, 7 Jul 2019 18:13:12 +0000 (envelope-from ) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mandrillapp.com; i=@mandrillapp.com; q=dns/txt; s=mandrill; t=1562523192; h=From : Subject : To : Cc : Message-Id : References : In-Reply-To : Date : MIME-Version : Content-Type : Content-Transfer-Encoding : From : Subject : Date : X-Mandrill-User : List-Unsubscribe; bh=owTjbI7UdD8VgA6b1BMAffbWT0iESkUoHZSCvU4Uh8I=; b=n6bkfqSyFpcjpSmZtlvP5MO+oB6QBTZc52QvHYJQQTLu2lRswkTFoOTTQWI0Kd0a8RSMec +ye96X9GnshkMS9xq4ftvBhXmtF1kdeWeHukErR6eeLcR7CO/hDkdYdKMmBI0wx2oF4xwqGG XLbL5gerpOBz878QyG68KYvY2Y7sE= From: Kirill Smelkov Subject: Re: [PATCH 3.16 0/2] Fix FUSE read/write deadlock on stream-like files Received: from [87.98.221.171] by mandrillapp.com id d0a5418e14164ddb8799c6ed025d723d; Sun, 07 Jul 2019 18:13:12 +0000 To: Ben Hutchings Cc: , Sasha Levin , Greg Kroah-Hartman , Linus Torvalds , Miklos Szeredi , , Message-Id: <20190707181305.GA25031@deco.navytux.spb.ru> References: <20190609135607.9840-1-kirr@nexedi.com> In-Reply-To: X-Report-Abuse: Please forward a copy of this message, including all headers, to abuse@mandrill.com X-Report-Abuse: You can also report abuse here: http://mandrillapp.com/contact/abuse?id=31050260.d0a5418e14164ddb8799c6ed025d723d X-Mandrill-User: md_31050260 Date: Sun, 07 Jul 2019 18:13:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 07, 2019 at 03:03:45PM +0100, Ben Hutchings wrote: > On Sun, 2019-06-09 at 15:41 +0000, Kirill Smelkov wrote: > > Hello stable team, > > > > Please consider applying the following 2 patches to Linux-3.16 stable > > tree. The patches fix regression introduced in 3.14 where both read and > > write started to run under lock taken, which resulted in FUSE (and many > > other drivers) deadlocks for cases where stream-like files are used with > > read and write being run simultaneously. > > > > Please see complete problem description in upstream commit 10dce8af3422 > > ("fs: stream_open - opener for stream-like files so that read and write > > can run simultaneously without deadlock"). > > > > The actual FUSE fix (upstream commit bbd84f33652f "fuse: Add > > FOPEN_STREAM to use stream_open()") was merged into 5.2 with `Cc: > > stable@vger.kernel.org # v3.14+` mark and is already included into 5.1, > > 5.0 and 4.19 stable trees. However for some reason it is not (yet ?) > > included into 4.14, 4.9, 4.4, 3.18 and 3.16 trees. > > > > The patches fix a real problem into which my FUSE filesystem ran, and > > which also likely affects OSSPD (full details are in the patches > > description). Please consider including the fixes into 3.16 (as well as > > into other stable trees - I'm sending corresponding series separately - > > - one per tree). > [...] > > I've queued these up for 3.16, thanks. Thanks a lot. Kirill