From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D6347C433DB for ; Mon, 15 Mar 2021 20:14:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A0F4964F4F for ; Mon, 15 Mar 2021 20:14:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230078AbhCOUNr (ORCPT ); Mon, 15 Mar 2021 16:13:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230476AbhCOUNn (ORCPT ); Mon, 15 Mar 2021 16:13:43 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E49E4C06174A; Mon, 15 Mar 2021 13:13:42 -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=Dgs7psrYGQL+Unq74XNuKkHEyznQ/Y9spvfJtFMnHM0=; b=Xn91PDhQW1z2E6otmUZO98NrOc dGQuvQtdIFHzaK78AECvW89GDGCnqz6Mb73pf2FwpXStbziLATMEQqx18km8D8VXKb0WqFhCLtnbs yndGwM1A9yCPAxlBCJmppSBPqs5ZKtf4C1kJ14v3WuADUiyQpmhMXIiwWRJPhCxFZW7DtgRqNrAAS gZgjW01d8rJQrGiBCd4+sI8jZQoS2cStXvR6ydzfF3QLvVaHHXSuJUlMFmvT2is+nIzP2S6dG7hE5 3LKK7hU58dHCBZLIuyfQnyZ49coNSjOJyF/orHsg++HZoSg4bEYEaGF0aFSnv8YoH0AHSkyri1sh4 cRiwACuQ==; Received: from willy by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lLtal-000i0L-8i; Mon, 15 Mar 2021 20:13:35 +0000 Date: Mon, 15 Mar 2021 20:13:31 +0000 From: Matthew Wilcox To: Matteo Croce Cc: linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Lennart Poettering , Luca Boccassi , Jens Axboe , Alexander Viro , Damien Le Moal , Tejun Heo , Javier =?iso-8859-1?Q?Gonz=E1lez?= , Niklas Cassel , Johannes Thumshirn , Hannes Reinecke , Ajay Joshi , Christoph Hellwig , Matias Bjorling , Hans Holmberg , Dmitry Fomichev , Keith Busch , "Dmitry V. Levin" Subject: Re: [PATCH -next 2/5] block: add ioctl to read the disk sequence number Message-ID: <20210315201331.GA2577561@casper.infradead.org> References: <20210315200242.67355-1-mcroce@linux.microsoft.com> <20210315200242.67355-3-mcroce@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210315200242.67355-3-mcroce@linux.microsoft.com> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Mon, Mar 15, 2021 at 09:02:39PM +0100, Matteo Croce wrote: > +++ b/include/uapi/linux/fs.h > @@ -184,6 +184,7 @@ struct fsxattr { > #define BLKSECDISCARD _IO(0x12,125) > #define BLKROTATIONAL _IO(0x12,126) > #define BLKZEROOUT _IO(0x12,127) > +#define BLKGETDISKSEQ _IOR(0x12,128,__u64) > /* > * A jump here: 130-131 are reserved for zoned block devices > * (see uapi/linux/blkzoned.h) Not your bug, but this is now 130-136. +cc all the people who signed off on the commits that added those ioctl numbers without updating this comment. Perhaps one of them will figure out how to stop this happening in future.