Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp3345742pxb; Tue, 20 Apr 2021 06:23:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy+/+Xeckqc1g5Eto2MheITudXY4nV3uz6hXHrzqTkQy4a7GWZz3LzZRj9cQFmQGX39U/98 X-Received: by 2002:a17:90a:c091:: with SMTP id o17mr4904384pjs.185.1618925034860; Tue, 20 Apr 2021 06:23:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1618925034; cv=pass; d=google.com; s=arc-20160816; b=EVTUKVKiNhotvYwjyFbIAkFh2uc5UC/5kdAvV/kajSYBxIwTWJ2LhHkxZdGekUUi9O D7lZIV5OP7BNO1cLLcO89orWddJq/2Agyv7q6gDLc66/niMDmB3EsbtIac4OxUmicw1n UWB+nglRS6lAljHWRodIoxDjfN7bgzQ1PZVYSSb/FGnu2MY6w4uAMSo+QZTWEEEVZ1Nx qJ8Eu6JQrhSXHFh3/qAIDcbUtw/tzcQqPPIgNbo4xHYql/MrwVugNFRXrS9XyP5X2phS QYOf0O6/5ajFI/NGF5gSpdx35FIlb66XuMfhW3Bca/MQb17QSdK2RXeaVKxzXVZROMa0 CIRA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :wdcipoutbound:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature:ironport-sdr:dkim-signature; bh=mD7e1Sok/EpNCUZuSCvTmrS/4K65HEedTp/Vv2SAHTA=; b=t4j2f1PEtrULGTzI5MvYFK7A/DdGvCnUIuNhkmxYyubiUaI7yxVfm8k5n8hYyQWUpe uXMfx4LAG4DuGQkTll7y9vzi2dLI/yCAP4e8NnZNQshHNIjwOSJBXwy1qgq0BCnrbdzu Ouifu6rZDFCcPqEdjRh2IiyeKUt4S6M9UFiLY9ypQRazOnXkrHLqRj6r5LKqVueA0Abu IkgkoGXlBx95FD99AJjo/YqtH0F93DwwoSEaY8x1jXDqZYo8/NFKxoBekGP2yUM5PHF9 ApPyKLIyRGEyH+aR8cg22YYNaypAewFQrq4HUYHapK55Bo2O/jxOggq+D5ewcvgmkL/e CuXw== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b="rZybl/jZ"; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=vwp06LQS; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w203si14204646pfc.83.2021.04.20.06.23.41; Tue, 20 Apr 2021 06:23:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b="rZybl/jZ"; dkim=pass header.i=@sharedspace.onmicrosoft.com header.s=selector2-sharedspace-onmicrosoft-com header.b=vwp06LQS; arc=pass (i=1 spf=pass spfdomain=wdc.com dkim=pass dkdomain=wdc.com dmarc=pass fromdomain=wdc.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232026AbhDTNX0 (ORCPT + 99 others); Tue, 20 Apr 2021 09:23:26 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:36059 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231769AbhDTNX0 (ORCPT ); Tue, 20 Apr 2021 09:23:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1618924981; x=1650460981; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=mD7e1Sok/EpNCUZuSCvTmrS/4K65HEedTp/Vv2SAHTA=; b=rZybl/jZ5JiUuiOiXUkVxtRGKqc0MKNI0+jlEUSMoS3G3OudJ4ntoudw 7pQMcEiXePUQtv7cOdJX1/+m5FrJi2d9pxQED3EEOAuIWnRyuSeleinQl EY6KbCHIL1FHKg4HTxxR67jTcixw1rSDfQ7CWWve6UQT84puLLE6njceu tX+1vPY40nTS7IWQ8GgtMK2NBLl13G3nEe1mrOj1kfjOt8zZ+Ulfo4/2P RgtvoT7G3GhiJoc6MzX2oRmtO0CCl9gdAy4bnfjukgrYqfGf/R6F96JBw QWyQwRe71CMoN3A3AG+ad4lWC4nzj1uMDmVK2K+IRYTXcx0FDydzvuHAw Q==; IronPort-SDR: HrHnlN3ncmRFTsN2YByUyJvD5bhzgF32Wov1aZ3oaCGJGIM7sv+i2IyR18Z4lM7rG4eRxlFc/W sjNv6EoLGFKkbqKAKaag8qc2kSkOg3aaCwvMYNMByssR64oh1K5Epg2H2au96pqjgxdw0Q4GTY zSeM9/JIMuuhdBMXR4IE/5Qa5D/fSbozQhXczQboAUe8rmOD+oONtlOURsvL1niEyOOZqJvhYg POPF4HvgqPNNmCNf5evjXHPM/F45yA07MrKDLpoTJR+f1Ej2HKE1xxeQPXusWLCYC5rS0kw/re onU= X-IronPort-AV: E=Sophos;i="5.82,237,1613404800"; d="scan'208";a="269470382" Received: from mail-sn1nam04lp2057.outbound.protection.outlook.com (HELO NAM04-SN1-obe.outbound.protection.outlook.com) ([104.47.44.57]) by ob1.hgst.iphmx.com with ESMTP; 20 Apr 2021 21:23:00 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VXOjKrAH86nouUSnkXc4Cl+9bIDFpKhj/DimpWkLPfG4p4YJTTNI/zNlBR6TtVAbKxc+EpT2uyG27buPR1T5DLP6obIfQvWKeDAb4K5m2bLYW5cwHQ9S/wUQiXySDWmatoeeZew8CrVa1spx0SdsbxBNr1X5WkMRApXpu76VZOC3MgJsiyjjLTl6wkijs4aZLG5/n296VfgqhKiu5zbErQQwHo6WbWiDSzqBdQlOxm3/zkipk0/BJur5+Z12CBVLfqU745Y2MpHmby0WHQQ4lNIOBVg7cpbOshc2dZZ5QojZ+ISrJ5aNdPV/lk8d+HgUNJ9CXFMTJbkNWHY2ggAxLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mD7e1Sok/EpNCUZuSCvTmrS/4K65HEedTp/Vv2SAHTA=; b=VlaA7pi8ZBbfn5hD3u4/sM+X9bjzcdJ3V2MpXW//dYJDZjPQMptGJSLg71DVOb/oJA0gx1GVZ5doH/5MmKdxo8pbLp40i42zOWV91D6KgVpO3sj7dapVIeqr6Fgh8VvfnZbgbqoUoFGBH/cDUJRmSVJjQVlfogN3hYJUGYJ5WQiLu2Sl1ooBKW1d4/Qtr8FOOek2yijQAiU0GRLzYcJOZJe6yJDR30EQNpDGf+FLt6A8MPkFv1qNcAtxmhsHH3Ncz688ljmrsD+vqtm5lYG+W7qhfUkqJfJERhKDzQgikQHW9NyxLjoN6ngNqE+zw/17CgugkHoXpb1ez38Be4wlSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=wdc.com; dmarc=pass action=none header.from=wdc.com; dkim=pass header.d=wdc.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector2-sharedspace-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mD7e1Sok/EpNCUZuSCvTmrS/4K65HEedTp/Vv2SAHTA=; b=vwp06LQST1QkJAnQOgV+aVqGajWKG0pMoo35XqR6qKFVBI9gZuY1YOkW5st2UUWie6IIARGagqv9uPs+74dHoXNE2ERXUDYqPHdqvEbdkT57azt1dAt45WpAcZWO4R/LIFMiaqPsgwFS3f3A1EXiftHdNjMCqq9SzNyj+Llk/Pw= Received: from DM6PR04MB6575.namprd04.prod.outlook.com (2603:10b6:5:1b7::7) by DM6PR04MB6140.namprd04.prod.outlook.com (2603:10b6:5:12c::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4042.18; Tue, 20 Apr 2021 13:22:52 +0000 Received: from DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::ed2d:4ccc:f42b:9966]) by DM6PR04MB6575.namprd04.prod.outlook.com ([fe80::ed2d:4ccc:f42b:9966%6]) with mapi id 15.20.4042.024; Tue, 20 Apr 2021 13:22:52 +0000 From: Avri Altman To: Adrian Hunter , Ulf Hansson , "linux-mmc@vger.kernel.org" CC: "linux-kernel@vger.kernel.org" , Brendan Peter Subject: RE: [PATCH v3 1/2] mmc: block: Issue flush only if allowed Thread-Topic: [PATCH v3 1/2] mmc: block: Issue flush only if allowed Thread-Index: AQHXNamO4qwHFqGV5UGPU5sSHCBzdqq9QwQAgAAh/7A= Date: Tue, 20 Apr 2021 13:22:52 +0000 Message-ID: References: <20210420055306.4858-1-avri.altman@wdc.com> <20210420055306.4858-2-avri.altman@wdc.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=wdc.com; x-originating-ip: [212.25.79.133] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 41034b1a-347f-42f4-714e-08d903ff6704 x-ms-traffictypediagnostic: DM6PR04MB6140: x-microsoft-antispam-prvs: wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: L2ssCy6cCmKSlDCpvD79mqFOouf3Yi/DRtCLE91PGtrGqxdxiPYuK7KsUgPQvCRgE0Ce/QEwQ9NI7FS4vl/VD9/fhvr3sqOyoKMDzCjDNhPP+3vI2ep1AOc9vGtIlHo5TEjEBGwqUuc6CS6wZ41QYZj0KMhEd6o3sTpUD9MjmAhqmZZkSytztft+TwK4fcD/32aifyQMJ+bdRQImXFSN6KcpKxJRYx7XpzEREatheawRKUac1+KvT84zjalsCgLva2mzN0n4KBvQs5O0vFyGXE2nTrt2x2bemtmwav5f06Nz9QV/MAaOsIMpgj411DkFhQYbWWqr/CZU7UVxv4tcu4M5jqFJ/j3+M7QmNV83kHYiUDFfbMOaLsreiIYEZaDvnDuVG/ccR/vSKES3Pva9GMbpp6zcnxCa4j3NXEf2Z+0OULsjzYWSCdSra3qJSpmdzhRReGEpCsOw7gOBIhjSoiWX/frobQTnf2jdi4cu0490q2rghtT7nk6sjsFynF+igrSeOx2gwFS34jlQnzyoRtAlIlSuw3XgvluXi4/koGFhZmwThQD/dKNhyZF7avDXRvVymPaSSILUUKR9ftPRVvztUGOcWCwzUMqIobO0znA= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR04MB6575.namprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(396003)(39850400004)(136003)(376002)(366004)(346002)(71200400001)(26005)(66556008)(64756008)(186003)(66446008)(83380400001)(33656002)(316002)(478600001)(2906002)(8676002)(7696005)(38100700002)(76116006)(4326008)(86362001)(110136005)(52536014)(122000001)(66946007)(55016002)(6506007)(5660300002)(8936002)(9686003)(53546011)(54906003)(66476007);DIR:OU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8?Q?bLcpN3e1V0YSz9im95IxqfqQhlWlhGFdCAvZ2oI?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: wdc.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR04MB6575.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 41034b1a-347f-42f4-714e-08d903ff6704 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2021 13:22:52.8458 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b61c8803-16f3-4c35-9b17-6f65f441df86 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: EwL3XaX7q0NhPjyww3yyqI9rCyKsr7UiWu6wYdTzaKNt4iVExhJhwvsh0Xy2iqB/E4qvfcV+hnWfBxvJPpS3sA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB6140 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org IA0KPiBPbiAyMC8wNC8yMSA4OjUzIGFtLCBBdnJpIEFsdG1hbiB3cm90ZToNCj4gPiBUaGUgY2Fj aGUgbWF5IGJlIGZsdXNoZWQgdG8gdGhlIG5vbnZvbGF0aWxlIHN0b3JhZ2UgYnkgd3JpdGluZyB0 bw0KPiA+IEZMVVNIX0NBQ0hFIGJ5dGUgKEVYVF9DU0QgYnl0ZSBbMzJdKS4gV2hlbiBpbiBjb21t YW5kIHF1ZXVlaW5nIG1vZGUsDQo+IHRoZQ0KPiA+IGNhY2hlIG1heSBiZSBmbHVzaGVkIGJ5IGlz c3VpbmcgYSBDTURRX1RBU0tfIERFVl9NR01UIChDTUQ0OCkgd2l0aCBhDQo+ID4gRkxVU0hfQ0FD SEUgb3AtY29kZS4gIEVpdGhlciB3YXksIHZlcmlmeSB0aGF0IFRoZSBjYW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0K PiANCj4gVXNpbmcgYW4gZXJyb3IgY29kZSBmb3IgdGhpcyBjYXNlIHNlZW1zIGEgbGl0dGxlIGZy YWdpbGUuDQo+IA0KPiBIb3cgYWJvdXQgc29tZXRoaW5nIGxpa2U6DQo+IA0KPiAgICAgICAgICAg ICAgICAgY2FzZSBSRVFfT1BfRkxVU0g6DQo+ICAgICAgICAgICAgICAgICAgICAgICAgIGlmICht bWNfYmxrX2NhY2hlX2Rpc2FibGVkKG1xLT5jYXJkKSkgew0KPiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIGJsa19tcV9lbmRfcmVxdWVzdChyZXEsIEJMS19TVFNfT0spOw0KPiAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBNTUNfUkVRX0ZJTklTSEVEOw0KPiAg ICAgICAgICAgICAgICAgICAgICAgICB9DQo+ICAgICAgICAgICAgICAgICAgICAgICAgIHJldCA9 IG1tY19ibGtfY3FlX2lzc3VlX2ZsdXNoKG1xLCByZXEpOw0KPiANCj4gDQo+IHN0YXRpYyBib29s IG1tY19ibGtfY2FjaGVfZGlzYWJsZWQoc3RydWN0IG1tY19jYXJkICpjYXJkKQ0KPiB7DQo+ICAg ICAgICAgcmV0dXJuIG1tY19jYXJkX21tYyhtcS0+Y2FyZCkgJiYgIW1tY19mbHVzaF9hbGxvd2Vk KGNhcmQpOw0KPiB9DQpEb25lLg0KDQpUaGFua3MsDQpBdnJpDQo=