Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3833335pxf; Mon, 15 Mar 2021 21:38:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTaEwC8/OLx03NTekdWMtI3hVaP0htuaFTX7MJLPPQis6GTdgfCMuf8iq+2J6bddD7l7Mb X-Received: by 2002:a17:907:3e21:: with SMTP id hp33mr27082255ejc.313.1615869528133; Mon, 15 Mar 2021 21:38:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1615869528; cv=none; d=google.com; s=arc-20160816; b=Iv94nT31wmLeYvVj9ot9vP5PV+Hcz5znRcQKsKwVZZAg8st5hNFqwMoNsdKmd9e8OR GTQxsJ1FkZg2AyEdXFNUaVRnUEN83e/IWEkTo3Y4CrDoSyUsHzmCNYUJwbfifIu+Qgk7 uK1YU6cFG4eNK+rW+sJSA9fEdA4iM86YCM+ZJJ+sUPDpA4AGn24XL0I8HrJFkTUrI1kB 4F17PU+LmX9pq8gbYIcRZCx4MijJlWCVYOKpUVnGXo4CdTMJhdrEi5ieEWifsichp5I1 SswEys6EAUfjBAOJE4DlOBWPZpZ3EAHkAv4hLANIRMOvreR3Yx4gN/BQD3emjyWBjapU AQjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=PFdwLFSkPuwOM57gZ2BEzv85ziJRcSCOWcRFEpG9jeE=; b=ZqHkO/wrVlGcoBTuDmJLHeX0tNbgS3cKCu5U9RZ2FvtightGAyY75rvhxPyIO1rDcR E1zEpD0hS3PAd6aEMxTu3vqNDSW/HMfpgwu6cnpAAP9PSDmYCLdTCIWZTxafhVZpPD7I nH2B49jkSenueuBjo5aZ38Fv63KiZIMcLIEFksVDMgEjyLGYwIOR4vo477uR09+oipWw 4eq+ndb6P0hWSXKR775rIANSaaruTx0+6cK1aQkYvVE6kkec9CNDaOCr+4SLPJtq3KCK tFqwaX+KiwyglzAbLYW0xpQxU8A295Rxlz1K+PbF2zThNbKeCWTV7HTjqClxRIxz0QjW Bslg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=P+W60vTA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c8si12273008edq.326.2021.03.15.21.38.25; Mon, 15 Mar 2021 21:38:48 -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=@linux.microsoft.com header.s=default header.b=P+W60vTA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231351AbhCOUfL (ORCPT + 99 others); Mon, 15 Mar 2021 16:35:11 -0400 Received: from linux.microsoft.com ([13.77.154.182]:50766 "EHLO linux.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232326AbhCOUfC (ORCPT ); Mon, 15 Mar 2021 16:35:02 -0400 Received: from mail-pj1-f51.google.com (mail-pj1-f51.google.com [209.85.216.51]) by linux.microsoft.com (Postfix) with ESMTPSA id 68C4820B39C5; Mon, 15 Mar 2021 13:35:02 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 68C4820B39C5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1615840502; bh=PFdwLFSkPuwOM57gZ2BEzv85ziJRcSCOWcRFEpG9jeE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=P+W60vTAzH1v5LIl8INhl8akgG5ir/YrliPxeYc+5JUFws81uD540X6DWOsCCFKLL zokxDLTfuLgu9IRMphdjImqHuLx3D22t6lZwpdSKn+Y7IuPQ45zft4VRHeYw0AIKLs PTVstZ8t8yi5wC6PB3wtT/Yg/RWQlmgC5Ruohv/Q= Received: by mail-pj1-f51.google.com with SMTP id mz6-20020a17090b3786b02900c16cb41d63so215364pjb.2; Mon, 15 Mar 2021 13:35:02 -0700 (PDT) X-Gm-Message-State: AOAM531IO2NGc358WSe7fB0i5lnYnp3Pv9ZR+e8N+yeYZQiZDiDyfXGk SPE79e5wtuLbzxUdKr9EQYOBfMl8p8XFkAgakJY= X-Received: by 2002:a17:903:30cd:b029:e6:a1fa:403b with SMTP id s13-20020a17090330cdb02900e6a1fa403bmr10966417plc.43.1615840501925; Mon, 15 Mar 2021 13:35:01 -0700 (PDT) MIME-Version: 1.0 References: <20210315200242.67355-1-mcroce@linux.microsoft.com> <20210315200242.67355-3-mcroce@linux.microsoft.com> <20210315201331.GA2577561@casper.infradead.org> In-Reply-To: <20210315201331.GA2577561@casper.infradead.org> From: Matteo Croce Date: Mon, 15 Mar 2021 21:34:26 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH -next 2/5] block: add ioctl to read the disk sequence number To: Matthew Wilcox 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 , =?UTF-8?Q?Javier_Gonz=C3=A1lez?= , Niklas Cassel , Johannes Thumshirn , Hannes Reinecke , Ajay Joshi , Christoph Hellwig , Matias Bjorling , Hans Holmberg , Dmitry Fomichev , Keith Busch , "Dmitry V. Levin" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 15, 2021 at 9:13 PM Matthew Wilcox wrote: > > 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. Note taken, thanks! -- per aspera ad upstream