Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2714155pxv; Sun, 11 Jul 2021 23:34:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy06Nj7y9WPa0vkMv94WL8GsHS1TEOylgtv2zhFl4u6ceG+WU2PCd4FYhAXwHoB3i51lf27 X-Received: by 2002:aa7:d344:: with SMTP id m4mr33098408edr.184.1626071685607; Sun, 11 Jul 2021 23:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626071685; cv=none; d=google.com; s=arc-20160816; b=xUS0gRbkMhvEOwWMP8+9ZasUR9dlZ8sjmoa6S1NVZP49FO23dAnSg1yyU7OeeAifEC jrK0oE+S8gTGt3TuA/RISlNtYIDRNAKYow8eKKLvvIDSCB/Lj0alxOSMcIwkhwM6bYa4 rBK8RVLZWqzbPhhFUdF6Xkx99HGOZso8oJKWMuoKxppj7hED5OmVABaTyDAExiFsmfrp CCzIPZISnIqOM3WCvS3rDyvazIjDoK17ZEG82RP3zoSp/nE2zoEA0rHNDQmr0MPFFqDA 4nXWzw4j+Gw2tEp26tdI/dpYFzD39kOJj1tnlezWvjt32s4qgXsQwLRzHJOS1lf2uc9a M67Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=FG/iT78/oQ54SybYw5GKCu27WpTpEqbvYfp5VuXTjUY=; b=Lqxse4v2G4oLlX10yJ2fKKtig/+jBXjbXwOFBmSa0VZt4eOvJrR0cosfN4TqN0nTia ta3Oi+ciettLt/HiwqRzx7WiXKI9Ac6/6I8RMaXTtvxaXw7JOkTQd42OFVhOwY4Fg3WH 0kp87kLZcURfpmtt3uq6WsetWPgtbIyn9cjM69ZdfI8kxVrq+TKK/pV3XbOBxR+5DC3V r3He8Ts3OgsRVXfFevsNoQZ0QUbM/aK557lWP4x/vlhLluYr/wDcxV19Bw9zwZiuQ+Ok wyX/j5h2L8B9m5U3PwhG7OxuFfisanaEVAz9PyqDbTxvkNCT8oLXU8DOQ4sObE6xTqZt 1aMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=cwCckUHB; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h26si6717830edr.239.2021.07.11.23.34.23; Sun, 11 Jul 2021 23:34:45 -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=pass header.i=@infradead.org header.s=casper.20170209 header.b=cwCckUHB; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235700AbhGLGgJ (ORCPT + 99 others); Mon, 12 Jul 2021 02:36:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237401AbhGLGa7 (ORCPT ); Mon, 12 Jul 2021 02:30:59 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42633C0613BF; Sun, 11 Jul 2021 23:26:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=FG/iT78/oQ54SybYw5GKCu27WpTpEqbvYfp5VuXTjUY=; b=cwCckUHBSW2+VJCGnUnAh9jyed gDjxXJiJMEHQyMebKbYi1BVDUpNKGVbHThCMUr104hxQVNQY2FKd9PicSRi40Iz1BetbVBNCwBTVD 9iMb+WdMOfYKfzoqq86507FJ/I+Y32o+o0+qQlR/V0h6bqG8qWDoeX5iTEVNjTBhhcaMlRZisB9ip PAnciSpk33SSXJI5gGBow48qhGvtxg6IjL///9S/I+6WyJx4DF5fnyJm5WRtsS5mFoiMz8+FNmh/M MsiJEsnhUL8XA8TqrZipFqMI39IZS8HYRycK4kxdCHpKhey5acg4Dp2dqgJVzMyWbG8BLWdRaLyho QvnUVewA==; Received: from hch by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1m2pNZ-00Gxnx-At; Mon, 12 Jul 2021 06:25:43 +0000 Date: Mon, 12 Jul 2021 07:25:21 +0100 From: Christoph Hellwig To: Matteo Croce Cc: linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jens Axboe , linux-kernel@vger.kernel.org, Lennart Poettering , Luca Boccassi , Alexander Viro , Damien Le Moal , Tejun Heo , Javier Gonz??lez , Niklas Cassel , Johannes Thumshirn , Hannes Reinecke , Matthew Wilcox , Christoph Hellwig , JeffleXu Subject: Re: [PATCH v4 1/5] block: add disk sequence number Message-ID: References: <20210711175415.80173-1-mcroce@linux.microsoft.com> <20210711175415.80173-2-mcroce@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210711175415.80173-2-mcroce@linux.microsoft.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 11, 2021 at 07:54:11PM +0200, Matteo Croce wrote: > +void inc_diskseq(struct gendisk *disk) > +{ > + disk->diskseq = atomic64_inc_return(&diskseq); > +} > +EXPORT_SYMBOL_GPL(inc_diskseq); No need to export inc_diskseq in the new world order. Otherwise looks good: Reviewed-by: Christoph Hellwig