Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5696613yba; Mon, 13 May 2019 15:48:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqzg7Ivy/1U9jYLTmdIwCUgyOMC8mcyda47cAe9lAc/hTseNKj0dOznnRO6MmS2Y4H/5SBad X-Received: by 2002:a62:7a8f:: with SMTP id v137mr37046153pfc.243.1557787699919; Mon, 13 May 2019 15:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557787699; cv=none; d=google.com; s=arc-20160816; b=ur2rgJa3EI2RMCNLDuExMc6TddTNxD2dIM8JcMkQ4icRv3ErR2CK3fTj8lKch1zeTD BGiLlehqSvyGE2UaHaGrFgUTiQcO2eBQW1hztrYdiNW5NECIqkXRWjfnpnGHeEu9B/2/ bY+99XQdxm1a5CB2kmzQJpArpKpYVNbA6xVsNgGsYBa+9MZTZMrL2D46ngaoKPTHEBk2 0PKxcUMyL8E24MaZFgUzdYo0zr1Eohfhz1Cpov1jNkh/RJhoz+PZaf6UIiZmmaSLXR8Q 3D824/N3qo2COUCGuCyTAbP2/MeCRH6rXsLvLR7HTPuWgXkvmyeDqKHRjaaB8kQWRr6J Zjew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=8NwNULtWwx5Pb38bN7drUkQb+DIEmPFqpFPgTOk+Y5o=; b=E+h3QjrD/MtdT12KXLSaEzP3KRrR2qG7oDICW7VFcc+Syoxb166uIlowTY7tuU9/Ki rFrL45ZLUePJWX+T2diwkANYJ9/ccqBiLkf4IdQcJoPcyGfjHA2tx+in0B5BTDve31rH P+AIM5xz17smKdANqklY0HGsoEiewMX/XfeHmbkYXATEYKDiX8SCiZ97i5DltbQfUBOV mIHCRNiLNvxzghd3oa9JjHKk6a6dmzQBDGT7YjP6d14VY6S6ZrOE5PUfkB1D0dFqQaHp uNfpuXmiVXC0UtMJWTurf3iEHoIuz1TL1Ae9haD3Ql/OY/1iE29dm4TRxreo7rf6+r8m yuDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=UoICGRVQ; 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 o23si17269219pgm.595.2019.05.13.15.48.03; Mon, 13 May 2019 15:48:19 -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=@amarulasolutions.com header.s=google header.b=UoICGRVQ; 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 S1726487AbfEMWrN (ORCPT + 99 others); Mon, 13 May 2019 18:47:13 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36926 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726265AbfEMWrM (ORCPT ); Mon, 13 May 2019 18:47:12 -0400 Received: by mail-wr1-f66.google.com with SMTP id e15so4612409wrs.4 for ; Mon, 13 May 2019 15:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=8NwNULtWwx5Pb38bN7drUkQb+DIEmPFqpFPgTOk+Y5o=; b=UoICGRVQhswOm1w0iBq2Dfnoa/DuU5x0oxvr4b9rlhFV4602wc987vTNuAOIMD4cGN orAe6wjXnlnfvmZBTV5AA6aVHi+O6TtxHJr3Kx4AWhv7Jnpdm7sa+z8ehEpcK8qLFPCD ND8kzfU1vYDNxwdVwUj9akBh7LErIPmKopZWc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=8NwNULtWwx5Pb38bN7drUkQb+DIEmPFqpFPgTOk+Y5o=; b=AhYkwTnv723DErJg+bDdx3QDurMTw2cTkIi+NcdmvClySMcBq24ew8QUCPwabKv1AQ wLcJellDvfyoJ5MMiY+CU6PhIgdKQZcwRxlFGZLg90SLL1VIGDNGN9oMpBEMfH/63dz9 n2d8fY0XE2s5dBit2GwIH2wpcDG+dN2JSO2i3GeKTxnmgn1Jai5g88ylgqZfxFyUMyWm KMpHGcJfoLljJad59cCDrwrRHcOMskL6PWSJ7Iz4p4BdY/wyx8IMHjmsZtooTSnwDrdS 0CpVH7OFiUe+f+NgnGvwuN9dixL4p5gck6aMLRmS0fr2tNld3nnJJUvrKywXeeT1zaoZ kU4g== X-Gm-Message-State: APjAAAXo/mUNtJzS8isaYLT46iGg32MSgPlkFuhSe9HiMQld/aYx8za0 scppCpS77vHYmHXBWpuggz4p4Q== X-Received: by 2002:adf:f788:: with SMTP id q8mr19337838wrp.181.1557787630962; Mon, 13 May 2019 15:47:10 -0700 (PDT) Received: from andrea ([89.22.71.151]) by smtp.gmail.com with ESMTPSA id u9sm1451813wmd.14.2019.05.13.15.47.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 May 2019 15:47:10 -0700 (PDT) Date: Tue, 14 May 2019 00:47:03 +0200 From: Andrea Parri To: "Yan, Zheng" Cc: "Yan, Zheng" , Linux Kernel Mailing List , Sage Weil , Ilya Dryomov , ceph-devel , "Paul E. McKenney" , Peter Zijlstra Subject: Re: [PATCH 4/5] ceph: fix improper use of smp_mb__before_atomic() Message-ID: <20190513224703.GA2957@andrea> References: <1556568902-12464-1-git-send-email-andrea.parri@amarulasolutions.com> <1556568902-12464-5-git-send-email-andrea.parri@amarulasolutions.com> <20190430082332.GB2677@hirez.programming.kicks-ass.net> <20190509205452.GA4359@andrea> <6956e700-ef56-7f20-4e6c-3ad86c9fd89e@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6956e700-ef56-7f20-4e6c-3ad86c9fd89e@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > >>> /* > >>> * XXX: the comment that explain this barrier goes here. > >>> */ > >>> > >> > >>makes sure operations that setup readdir cache (update page cache and > >>i_size) are strongly ordered with following atomic64_set. > > > >Thanks for the suggestion, Yan. > > > >To be clear: would you like me to integrate your comment and resend? > >any other suggestions? > > > > Yes, please Will do: I'll let the merge window close and send v2 on top of -rc1. Thanks, Andrea