Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4651207ybi; Sat, 6 Jul 2019 09:51:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9BBhlQtI1au8zcde/CxALhyoBYY5RSuuZmf+/cRkmzo9mUua7eEGKDGu3UdKWSM+CQDMD X-Received: by 2002:a63:610e:: with SMTP id v14mr11961332pgb.221.1562431913615; Sat, 06 Jul 2019 09:51:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562431913; cv=none; d=google.com; s=arc-20160816; b=d4XaQ3v0nErUW5RN+3cKTZwcVPMv2VOHZiju1a2tR2Rf3soABQ9B6MNaYK/vpSHN72 jn3u9yFskKLjkf0aMlkJ9edwq+uAofchgqoZg6tzp8xTw4QWIy1J/oT//JhlSwgHA6K1 IORBnFA72d4WhU/q80rxaQNKhnBUZOEImdYNzQUIXpeDPoEs0wYLiQw3EZq1Ovio/TgL r+Uw6rL8ohUMaWfbs7UtFf0UKwWkl4zBJoF1DbgBcUMvkhnCbSiDTKz+Sa3XBaSqjzkF ECXOLWre829crbh24cwvwLly2ywZD5WpJsPMuKhOUySTwReeRTuNx15pHDJiym3Aq3bo Urzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=k1rhG45xUsanPtrXHxqdm1l+srFHbKYSRt/quYftIwk=; b=nQFmd2vImz47W2zQZ7Z+JLu5DoYHkwSzOfSeUZZhruyYjolcc2/lPXRrsJZEpV+e8J +fGJPRZmJckkFzTHwv+MFWArCJFdasLRUtQOT9QeZk18mwyRjYYKniWOUrBzq2o7SgmY iesasXVjCF41y+fhB9WrO2WMnJUnjMMz1oPcPTBqKaTA2XQBS+eSECWVvJYQfRUPrT/H ZRAGtTxtsIWC4/raW3HGv0aUWuE3x9BcqabPnpIwIN2WmqnaCwJD/Ivypd3iS4otVqqz wkKUieuMNWNjdhF0Xm7yuKPlESpMmg5ENZgorhOSA65cIh1JPPvPeMN8iOSdaBAH+bUF xBcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ingCHlRr; 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 w14si11389628pjn.15.2019.07.06.09.51.39; Sat, 06 Jul 2019 09:51:53 -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=@kernel.org header.s=default header.b=ingCHlRr; 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 S1726993AbfGFQvD (ORCPT + 99 others); Sat, 6 Jul 2019 12:51:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:58190 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726702AbfGFQvD (ORCPT ); Sat, 6 Jul 2019 12:51:03 -0400 Received: from localhost (unknown [62.119.166.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2853320836; Sat, 6 Jul 2019 16:51:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1562431862; bh=03VXPoBGTEudhnVcaNxaOVX1cfv+o2GmUaqaEjZx+50=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ingCHlRr0ouEaWbvT2OAbv4fmZiMg8QNjH2L9FhoMGSqugRHJmIARkHwSKyL33kre vPXZUXBONySfsLLpPPfpnN15DFDgsLpD/PxSpt7+T0/WNYTSfFCb7DJmeg0AZQRV7h b4fIS0eHgwXqi8X/UCTjOCyn5Zu5J56nsunnQ4Gg= Date: Sat, 6 Jul 2019 18:50:44 +0200 From: Greg Kroah-Hartman To: Jens Axboe Cc: Stephen Rothwell , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, stable Subject: Re: [PATCH] blk-mq: fix up placement of debugfs directory of queue files Message-ID: <20190706165044.GA18886@kroah.com> References: <20190706155032.GA3106@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 06, 2019 at 10:07:14AM -0600, Jens Axboe wrote: > On 7/6/19 9:50 AM, Greg Kroah-Hartman wrote: > > When the blk-mq debugfs file creation logic was "cleaned up" it was > > cleaned up too much, causing the queue file to not be created in the > > correct location. Turns out the check for the directory being present > > is needed as if that has not happened yet, the files should not be > > created, and the function will be called later on in the initialization > > code so that the files can be created in the correct location. > > How about we shove this in for 5.2 final? Trivial enough to do, and it > would suck to have 5.2 released with this. Sure, no objection from me! > Though not sure what devices this actually impacts, I haven't noticed > anything awry on my setups? I can easily trigger this with loop devices. I know Stephen reported this and I don't know if that was the driver that caused it for him. I have also seen this happen in syzbot boot logs already, but again, don't know what block devices they are using that causes this. thanks, greg k-h