Received: by 10.192.165.148 with SMTP id m20csp531155imm; Wed, 9 May 2018 17:53:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpP2dSjshHzNi7P9KYy2nVaXqHZui+vcj23vd0CWVz5CqlChH1fXLE7iY/4kWtmibcaswCD X-Received: by 2002:a65:6027:: with SMTP id p7-v6mr24094145pgu.210.1525913620097; Wed, 09 May 2018 17:53:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525913620; cv=none; d=google.com; s=arc-20160816; b=S9KxVO4nfvCXi6CCQu8X4SOQAuQHMutud4nV5mL3RtpSp1vaLZKHhzIxK+Z3n4V8tV M94BATiAz774i0Vy2bb9UcE3ooj1EkBhOXNjlmJ+ziP0xUrFpbowOeu6lpc9Vem5QZWx HsqgyI5zsl4v1771ftSTo7vh3y0kXYVAVDIm4h+DUTnuy7Pl+XZ0lphhHwITcZuF/q/2 wmCWieFiXWbOi+LApSu1byo2Ql2Sw8YTojTRMpcLFuWM69A+7UnfXGcR1su4cNgbgGYF toDHWfg6polnTb+7giLTHiQl++xGHlo/H9rSkXRbx0NcZ9aL/ZTMrgk0PNGniWFoVC/Y v9dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=hn9EKKVFeZmrOvzy/b5QVqCukXTqZ1NxEbFllphvpLA=; b=T+QilchuMv+rjPhgKlt4hwHkkjPcdIVT5Pp1CzCBw5nR0Ba1P710FUfHxaUVOq6/Uq Obdfq6JSBR6/1xEsdpS3s6OuuQQSpYstbFxMH8AiVSfYvs+WK22cZyKGD7HvZs35kelG oWlxN7Wwomw3frAlGnaiRjDVSra7jRL0TRuELH4vnndujFL3K6i9Ki6SaBTCk1ELoUoH ZMZIfrl2xse080kQJiV/1Yp8wXK66DIq08IgcwJCZZrkshKZIsfdJtGWlN/2T8DaV0+w pM426suYFcOO2IhHYJYwH9QpAIgQIRguh5qeRJ+QKpH6ZRRRjjP6TY7d/uop9TaOBFcp JR8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZQieb2cS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k189-v6si22138265pgc.388.2018.05.09.17.53.25; Wed, 09 May 2018 17:53:40 -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=@gmail.com header.s=20161025 header.b=ZQieb2cS; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966023AbeEJAv6 (ORCPT + 99 others); Wed, 9 May 2018 20:51:58 -0400 Received: from mail-wr0-f171.google.com ([209.85.128.171]:43074 "EHLO mail-wr0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965926AbeEJAv4 (ORCPT ); Wed, 9 May 2018 20:51:56 -0400 Received: by mail-wr0-f171.google.com with SMTP id v15-v6so302941wrm.10; Wed, 09 May 2018 17:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hn9EKKVFeZmrOvzy/b5QVqCukXTqZ1NxEbFllphvpLA=; b=ZQieb2cSXH/PNgiLON1/iRrGFupZ26+Qm+TUBu2laBf68KvNXC8a+WLkU0OzNkgxae Iaz7pR4uAfnqhFV20ZU2Il/PDTXaaZjUE7wcj6q6QUrD742NA/SuUuKp76eNq/l88mZp ibU8xonFBzu9Gec2N+a9tlXzdJZFOOO8euzPjEHFTN8XBFqpnVyrGjCkE3mK1dXgPHCo eGWr9Wx+T6nyrftgAR+i4wLZ7eQ8pBLfxWXBUX01IJYYfk1W/HFjXaR0jhcAIkaCH5ZN URNRvS6RlChIT4wiURuvaAeeQa+jg14ybStmeXNparLG8bld5b4KuQbhcmHnbvGFS3dd nY+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hn9EKKVFeZmrOvzy/b5QVqCukXTqZ1NxEbFllphvpLA=; b=NxOX8+xwcuewuoebpaKDeZgeCEkpHhc+53+mZX/H7B9cJZTccBJvLHqdDJy2nzAxnx f8FvbKpw0gSqVdRxeGNV1Gl3cjBLuijNfTyFZErWR6GXpcX+57ODwleqM0wVbJj94Y9C hw1s8h1KJfIos2FldvZJnaPPAIRkBO6m0avZpck64aJQZw3oayKni2dIIYrJpGK8eT+P AJBvdmyuui/qaE/RFx80uLDNqgkcoQijXn08F2ujhUiwFwbRUtq8IkYs6p1PQI3QQl2P hBk/L56i5sqo6sqBpC7B8ayr4EpCeJ1AQF0dFv0DJ988hLuwyhJUeOmd7awg70XF0/7a CDog== X-Gm-Message-State: ALQs6tDfsWhnlhpcaVC0esxsLdvP1oyuduRObQCXkP4Js5CSDVooJYf9 y6otAi006z84hAIrFLWJ8mZLVGHgNBBuxacJ7Dc= X-Received: by 2002:adf:e38e:: with SMTP id e14-v6mr36426326wrm.198.1525913515053; Wed, 09 May 2018 17:51:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.226.212 with HTTP; Wed, 9 May 2018 17:51:54 -0700 (PDT) In-Reply-To: References: <1453803006-12812-1-git-send-email-roman.penyaev@profitbricks.com> From: Ming Lei Date: Thu, 10 May 2018 08:51:54 +0800 Message-ID: Subject: Re: [PATCH 1/1] block: fix race between opening blkext device and freeing it To: Roman Penyaev Cc: Keith Busch , stable , Linux Kernel Mailing List , linux-block , Jens Axboe Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 2, 2016 at 12:29 AM, Roman Penyaev wrote: > Hello, Jens. > > Could you please take a look at this patch. > This issue happens quite often on our servers, when udevd > tries to get detailed info about md raid starting mdadm, > but this raid device is already in closing state and is > about to free internal structures, afterwards an oops > happens and mdadm gets killed. Looks the issue is still there, so could we consider Roman's approach for this issue? Thanks, Ming Lei