Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2368635yba; Fri, 17 May 2019 15:55:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8FgSmCGkB6L1dbFmE1TqtCyCMRLE6nPc3tj+ue4C76fbdqa/YMu9l145sotfzB9ec4Qng X-Received: by 2002:aa7:9151:: with SMTP id 17mr62161228pfi.192.1558133740516; Fri, 17 May 2019 15:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558133740; cv=none; d=google.com; s=arc-20160816; b=zxoE5g+znnBipWKlO5xmfGO0OqyQ5uINrK2qHISYUimib/kM0cSQw1rkChNHmXNfAP 0HZ6RD/5E1QVWI1ho7i/TpWgvAvTtDgSph0MUMwyPd2w/AQsj7dNqd6t/GGWG1h3RgsY ZBgPQsnks1VoISRr1EAnHIKtk1BsKjutQosD2tZrk+EsRUH3XtAloJuXc8Vr9ZyJNoZc zhN339TZSIeOtM4Fnc8sT+xdAXgyuDdAj9qBPhD8SNwlxtl0dJl+TsqAI2/ZZxVWBgdL hQcsXo5sQGeaKbGLGoZGMHvw4icNU3TEyAoNWoSBb8Gi97bFZl1q8Vs5apxQnsXjhl4p 9BQw== 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 :in-reply-to:references:mime-version:dkim-signature; bh=TeG6rEmkcjh6hsbhIni+X0M4ao2fCvuLYPl9D/OPgmE=; b=P2xrxNDbLMi0H4gFDTKpJuY6SPf1KxQBzI/aNLik4EKjOrp9k5nmKfP+Q+SjHJPSYV SgKBo/VvgFc83vKHP4JZ8zDmthfX3oMZsONZkz/8GDtcOaN7QVoZofY56U65Ngoh/Ggl qfIC690mGHNeOIn6XpgKvAqoVHiHRkIs8mxencNsbSKAebAhP/jXG55UnsNSFl8KSpBO 4SA+f1G7DXuD4NWCC4MhPdLepxq7OjuMoybC2orLRI02CfIOx83/cq7+zyQf/8jkhjyR uPjcXKmBD1p8dAX/tBy32qVM32bK4l1mKJVomweGl78wWuA26pU8/RELS3ABqqQ+Q1KM UqFg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=d3YwA7IH; 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 3si7134565pli.78.2019.05.17.15.55.25; Fri, 17 May 2019 15:55: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=@linux-foundation.org header.s=google header.b=d3YwA7IH; 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 S1728235AbfEQVUe (ORCPT + 99 others); Fri, 17 May 2019 17:20:34 -0400 Received: from mail-lf1-f45.google.com ([209.85.167.45]:36485 "EHLO mail-lf1-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727439AbfEQVUd (ORCPT ); Fri, 17 May 2019 17:20:33 -0400 Received: by mail-lf1-f45.google.com with SMTP id y10so6316869lfl.3 for ; Fri, 17 May 2019 14:20:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=TeG6rEmkcjh6hsbhIni+X0M4ao2fCvuLYPl9D/OPgmE=; b=d3YwA7IHFLGisd9uu9yYMbG89YFREzsaXn8L9GK8jHU/c0VcceV3lgAYucSxVuRIBm FvtO/1clDFuC1lO3mu7dZDcyBVuugXShHFSzscIXYDoL/J7+LoN0Xx2GBrO84CyTj93W lmp1jxHZmFhWSipBZ0y+mPuv+wl4eU/a6XI18= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=TeG6rEmkcjh6hsbhIni+X0M4ao2fCvuLYPl9D/OPgmE=; b=kvtYJmHRk3uHWzyKzYwkFntOavQk6pyKQaCWYNwdI7NJGHO1V0sqJ4pSwxKu1Ni63h FAt/Reuwz273f6f9L/7Lmm0C50owUpykEo8bzpMLqJ4MsmrN2HUcX4wO6t8RNavQk9mT obgUAAAzlhWxoPXdGNQjl/9ddYQOfFmvDuvNC4xaywotEZM+WVPTuW+lC/8g1hs5fuT3 DEYKryxrgPuLZIFb/85wElZbMHy2oFFfF+/BkXxLFTrR4NH4iUBRR6Yiyi2W+4cwd26F UjfY7g8c6KFGpBQ7pmKqy1XLXy+f7xKnhtdX2SJiI4efwrXlBwZOGwLzI3/6pPc/ezzA 8GDg== X-Gm-Message-State: APjAAAW60nsMmelWoWGaa5vn0rM6I/D5oQ6GLzLHGlFUqhtZH2vHCJk+ TofRJmXyRWvpKHnSoKpBpNO+a2haEw0= X-Received: by 2002:ac2:4213:: with SMTP id y19mr20243361lfh.66.1558128031406; Fri, 17 May 2019 14:20:31 -0700 (PDT) Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com. [209.85.167.50]) by smtp.gmail.com with ESMTPSA id 8sm1903985lft.97.2019.05.17.14.20.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 May 2019 14:20:31 -0700 (PDT) Received: by mail-lf1-f50.google.com with SMTP id y10so6316818lfl.3 for ; Fri, 17 May 2019 14:20:30 -0700 (PDT) X-Received: by 2002:a19:7d42:: with SMTP id y63mr21391396lfc.54.1558128029916; Fri, 17 May 2019 14:20:29 -0700 (PDT) MIME-Version: 1.0 References: <1558104285.3050.8.camel@HansenPartnership.com> In-Reply-To: <1558104285.3050.8.camel@HansenPartnership.com> From: Linus Torvalds Date: Fri, 17 May 2019 14:20:14 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] final round of SCSI updates for the 5.1+ merge window To: James Bottomley Cc: Andrew Morton , linux-scsi , linux-kernel 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 Fri, May 17, 2019 at 7:44 AM James Bottomley wrote: > > This is the final round of mostly small fixes in our initial > submit. The fix for the read only regressions is the most extensive > change and also intrudes outside of SCSI because the partition and read > only handling is mostly in block. No. That code is insane. It looks very fishy indeed to me, and I'm not pulling it this late in the game. If the partition table gets re-read, the old read-only state should go away - for all ew know, the partition numbers may have changed, for chrissake! So you can't just say "oh, partition number 1 used to be read-only, so now we need to keep it read-only". That partition might be something completely different after the parition table has been invalidated. So the new model that code uses looks completely bogus to me, and is not anything we've ever done before. Just revert the oneliner SCSI change that caused the regression. Linus