Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3082844pxb; Fri, 12 Feb 2021 08:45:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJwKmDdbkqKU7MwCJY1pjDWh6WIKwBZQ35T5zepyWER4iy4cMtiIMjd7RoqVKnf7xkLTOoJx X-Received: by 2002:a17:906:8617:: with SMTP id o23mr3870612ejx.289.1613148345184; Fri, 12 Feb 2021 08:45:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613148345; cv=none; d=google.com; s=arc-20160816; b=K+5HeO0yWop6ClnmXvQXGOmldLbQjnvcFNJRu1YhfG3YGEzf2GuWpj7s659NO9s+r+ Pn37IxlSUem6QP1tHeWRxrrjPcO7YY+6nbq5bbgxG1jiFtJMN7P8IEQhL1C9FGDMd1NZ W/zlPqLzYyMEXYZggLtk5qrBqJBxwbg2cYdxQwvl6UFNNdhFqWKOg+wpwwNZ/BSrrlo8 fPBPJTipfJZDrcxNrxyQ/Nn/AlWxXWOi5aThJUGBuMJSSG0hWAQs7qI/+hDT3lq03fuf 9B6qzIGH7VUyOEKvRQS7BeNjouWK1IyO2TU4vK5XRAKwDUPGxeQRtDMuYUkFutzSKcj5 mjVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=lANhFAK85wvjCN3zqOQfgFs5PO6LPeA+PP4rykdwZ0c=; b=fGjYt+Wn0F3oDCDiqa94YjvJnb6Nx8T1dZ9q82Roi9bvGAf2/KRnIhi59bJh5V3P/5 BVVdp5iaWMzOz/TQDpR8zzWTIOnL2shbTIiXyMYPFGXmgBLiUCa7tW6lro/G3whWx5id 7OLxZ3LLj/qPq61cfE5RHQPJWPY1hd9PFQmAD445dp5Wgq338J8w//vLHl5dW7VgIk27 8nPnYMR2rb65gp/6QDz4GDpoH7Dqq9ncjQufvlwFGE3iPG58YLXlo+CoLkZ7M6B+NQ4a DCnasDkPh1kELF0lUTmzlRKlkgJ3lBY0DiWTtOZxqHwgpKVo+mSB/hqev7tzuwGpD/BR WBLQ== ARC-Authentication-Results: i=1; mx.google.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=aculab.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ju10si3929855ejc.628.2021.02.12.08.45.21; Fri, 12 Feb 2021 08:45:45 -0800 (PST) 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; 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=aculab.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231317AbhBLQog (ORCPT + 99 others); Fri, 12 Feb 2021 11:44:36 -0500 Received: from eu-smtp-delivery-151.mimecast.com ([207.82.80.151]:31492 "EHLO eu-smtp-delivery-151.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230240AbhBLQoQ (ORCPT ); Fri, 12 Feb 2021 11:44:16 -0500 Received: from AcuMS.aculab.com (156.67.243.126 [156.67.243.126]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-262-cLzRw_uIPoO1pDyclYXeKQ-1; Fri, 12 Feb 2021 16:42:28 +0000 X-MC-Unique: cLzRw_uIPoO1pDyclYXeKQ-1 Received: from AcuMS.Aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) by AcuMS.aculab.com (fd9f:af1c:a25b:0:43c:695e:880f:8750) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 12 Feb 2021 16:42:21 +0000 Received: from AcuMS.Aculab.com ([fe80::43c:695e:880f:8750]) by AcuMS.aculab.com ([fe80::43c:695e:880f:8750%12]) with mapi id 15.00.1347.000; Fri, 12 Feb 2021 16:42:21 +0000 From: David Laight To: 'Coly Li' , "Gustavo A. R. Silva" , Kent Overstreet , "David S. Miller" , Christina Jacob , Hariprasad Kelam , Sunil Goutham , Jesse Brandeburg CC: "linux-bcache@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dongdong tao Subject: RE: [PATCH][next] bcache: Use 64-bit arithmetic instead of 32-bit Thread-Topic: [PATCH][next] bcache: Use 64-bit arithmetic instead of 32-bit Thread-Index: AQHXAUq33fUjMDIuaUm57r6l5bDb0apUpJ4ggAAJh4CAAAZ5cA== Date: Fri, 12 Feb 2021 16:42:21 +0000 Message-ID: <468c8699c8ea445cac433406be983e79@AcuMS.aculab.com> References: <20210212125028.GA264620@embeddedor> <0a2eb2e143ad480cbce3f84c3c920b5f@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=C51A453 smtp.mailfrom=david.laight@aculab.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQ29seSBMaSA8Y29seWxpQHN1c2UuZGU+DQo+IFNlbnQ6IDEyIEZlYnJ1YXJ5IDIwMjEg MTY6MDINCj4gDQo+IE9uIDIvMTIvMjEgMTE6MzEgUE0sIERhdmlkIExhaWdodCB3cm90ZToNCj4g Pj4+ICAJCWlmIChjLT5nY19zdGF0cy5pbl91c2UgPD0gQkNIX1dSSVRFQkFDS19GUkFHTUVOVF9U SFJFU0hPTER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