Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp124173ybv; Tue, 18 Feb 2020 19:17:05 -0800 (PST) X-Google-Smtp-Source: APXvYqx1Bj3ab5t399BjPIDIX7icS47Tmi9Y/RpZIoaPL4dbIB2nL1S5ednpeddxrO3j8ZvKldnR X-Received: by 2002:a54:468b:: with SMTP id k11mr3227445oic.134.1582082225030; Tue, 18 Feb 2020 19:17:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582082225; cv=none; d=google.com; s=arc-20160816; b=v6XZYsTUiQ2Z6D11OnIMGRl52yOIIliOUeKGAqacgcbQ/oSVwLtcgbXcHuNI8KAawO tjThRt91KhcW/CoenoF//M3OMzGyjUHXO2TMkZHl5WYQQoiADe0i6vM1V9KPaRMICk2q HjE4RSorpHEmIteqrBg/wo4voltsLRsD1ttjglHdOShlbmFHUNGR30UmUKLRqt8XnGVh L8bpRghrIjfzNlgmRVT4kJ2nfEfOKUo3y8GylQjmRYM7YvHypby53xkDrpCHOBL5Avor Grp8Y8aopGAo701TYxXamFjyhxNUOFK5BxKytKHaeb6xpQGAGGKKMjvM2HZ0AblDfsBJ KfLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :ironport-sdr:dkim-signature; bh=E5N/7o6VGZBa7BVMDB3WxPy4rXL39R8UjJoASxTcpwI=; b=uGEgcjbWwEFzuzDFztmy/pGn4UGpkdQ+BK8HxCA54hVhJGdtYq+2bR/u+d7hUuV46L xxxrRn7g4HktyWoCreCXSJxPBtXeVlU5//uioxIuZp2fGZKdyZrIJOjwCc2BGnYa2SJt 5DZvNrb5DAU+iCTcmFnChHurJquajug4QC83a6QeN9h0XfQSLRABfzxYMVEfDjeC7BaC n9HOYWRD9xH/bZ5z/DeD8uOT5/BVuJY64kiO6+w0ylOhWAtKFCheENjIKezw6KCyrzo5 rD7b9Enf1VIT2xLJ2gs3s2XffFT6pEL+3wbDvFHodFfLg9IoheYs/D9+zjEunWEpZJId yonQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amazon.com header.s=amazon201209 header.b=D4CHQbjM; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a20si427445otf.271.2020.02.18.19.16.54; Tue, 18 Feb 2020 19:17:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-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=@amazon.com header.s=amazon201209 header.b=D4CHQbjM; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728325AbgBSDQe (ORCPT + 99 others); Tue, 18 Feb 2020 22:16:34 -0500 Received: from smtp-fw-6002.amazon.com ([52.95.49.90]:29717 "EHLO smtp-fw-6002.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728323AbgBSDQd (ORCPT ); Tue, 18 Feb 2020 22:16:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1582082193; x=1613618193; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=E5N/7o6VGZBa7BVMDB3WxPy4rXL39R8UjJoASxTcpwI=; b=D4CHQbjMEvc2gloE9BViuPlyFRg+EyufVvy2YSmCf5G+XePNZy/grwGR RB9qMi134VS9cjA0D5lNT9GcvNzy3twcC2RCd3EvMDmOWg5lzIrd8wa/k UADalIPrS4DWof1RY6cWE/z/it3rSFExg6L5vusDWgZRgvkH3/c0qNtUH U=; IronPort-SDR: nPGXDLSlq1mgpB0ur0SHuDd4GWdYk2MTS3/Xd9ybZfESAZUt/hp1VWZzaP4wcIpIfB8EPJ9OGb GZDeqCULsGAg== X-IronPort-AV: E=Sophos;i="5.70,458,1574121600"; d="scan'208";a="16987779" Received: from iad12-co-svc-p1-lb1-vlan3.amazon.com (HELO email-inbound-relay-1e-a70de69e.us-east-1.amazon.com) ([10.43.8.6]) by smtp-border-fw-out-6002.iad6.amazon.com with ESMTP; 19 Feb 2020 03:16:33 +0000 Received: from EX13MTAUWB001.ant.amazon.com (iad55-ws-svc-p15-lb9-vlan2.iad.amazon.com [10.40.159.162]) by email-inbound-relay-1e-a70de69e.us-east-1.amazon.com (Postfix) with ESMTPS id CF97EA27EF; Wed, 19 Feb 2020 03:16:31 +0000 (UTC) Received: from EX13D01UWB004.ant.amazon.com (10.43.161.157) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 19 Feb 2020 03:16:31 +0000 Received: from EX13D30UWC001.ant.amazon.com (10.43.162.128) by EX13d01UWB004.ant.amazon.com (10.43.161.157) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Feb 2020 03:16:30 +0000 Received: from EX13D30UWC001.ant.amazon.com ([10.43.162.128]) by EX13D30UWC001.ant.amazon.com ([10.43.162.128]) with mapi id 15.00.1367.000; Wed, 19 Feb 2020 03:16:30 +0000 From: "Jitindar SIngh, Suraj" To: "linux-ext4@vger.kernel.org" CC: "stable@vger.kernel.org" , "tytso@mit.edu" , "Singh, Balbir" Subject: Re: [PATCH 1/3] ext4: introduce macro sbi_array_rcu_deref() to access rcu protected fields Thread-Topic: [PATCH 1/3] ext4: introduce macro sbi_array_rcu_deref() to access rcu protected fields Thread-Index: AQHV5tIfD/jLG261uU+fJ5kjcslyZ6gh2FEA Date: Wed, 19 Feb 2020 03:16:30 +0000 Message-ID: <6db70858fc2e9792cff585650891f5f9896cf28a.camel@amazon.com> References: <20200219030851.2678-1-surajjs@amazon.com> <20200219030851.2678-2-surajjs@amazon.com> In-Reply-To: <20200219030851.2678-2-surajjs@amazon.com> Accept-Language: en-AU, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.162.53] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org K0NjIHN0YWJsZQ0KKGNvcnJlY3RseSB0aGlzIHRpbWUpDQoNCk9uIFR1ZSwgMjAyMC0wMi0xOCBh dCAxOTowOCAtMDgwMCwgU3VyYWogSml0aW5kYXIgU2luZ2ggd3JvdGU6DQo+IFRoZSBzX2dyb3Vw X2Rlc2MgZmllbGQgaW4gdGhlIHN1cGVyIGJsb2NrIGluZm8gKHNiaSkgaXMgcHJvdGVjdGVkIGJ5 DQo+IHJjdSB0bw0KPiBwcmV2ZW50IGFjY2VzcyB0byBhbiBpbnZhbGlkIHBvaW50ZXIgZHVyaW5n IG9ubGluZSByZXNpemUgb3BlcmF0aW9ucy4NCj4gVGhlcmUgYXJlIDIgb3RoZXIgYXJyYXlzIGlu IHNiaSwgc19ncm91cF9pbmZvIGFuZCBzX2ZsZXhfZ3JvdXBzLA0KPiB3aGljaA0KPiByZXF1aXJl IHNpbWlsYXIgcmN1IHByb3RlY3Rpb24gd2hpY2ggaXMgaW50cm9kdWNlZCBpbiB0aGUgc3Vic2Vx dWVudA0KPiBwYXRjaGVzLiBJbnRyb2R1Y2UgYSBoZWxw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