Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1993538rda; Tue, 24 Oct 2023 09:07:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHrda2JcKQD8HXjdPWS8F1DJ4i6bWc45M676E14YC9crBsAJ4BRzdz48jkcup519zhVaydi X-Received: by 2002:a05:6a00:990:b0:690:c887:8cd8 with SMTP id u16-20020a056a00099000b00690c8878cd8mr11781971pfg.32.1698163673661; Tue, 24 Oct 2023 09:07:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698163673; cv=none; d=google.com; s=arc-20160816; b=WC6o4cYDlPu2XXrehZsRXBopFF01kD933pHdhXZ2Gruf+poKFt846Wnaesh9VHTquX pic9/sLDoYiHkUwxJ7gEgHjpCYlI/HOK/+dw8mQ17eyTWF4Fx365nnk9CQd3H2Th0c5n F19RrEKItcES6CaorIB4orkYkTo/Awe94GR/mzWtx6RLFPGZGDKNvR1SkG6nm9DtY/0A wdsDaan05Xe5pChFDpEAux3s0nCfug1PkGN+2VcCTf18a8tgpgPit4LbPXV7BB98BhwW GQGBuAUv+j1f92J5D0crQ/ybIGRAoMT0rC6cxp6XTgL4rxzlKFC3aoULsj78opGBDJMN C6Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DZziiX3mPt+dmPCf3gqvFLr5pouo9FqdspcqgzcHdJo=; fh=eKjAoJKLAUNLF0RWp0tiy6Zz/R58FSNKAKnO7UWMkM8=; b=I8RonDRIUWFZruaYHwQim1uiGLv5LL/SEcqmykhK3gnHXDzysqvieluOe00PoNQ2GO PW1yx8LzwnHrm4V9VmROfJmRCLjoa5pDJhmWGzqrtMqBs9EB2Pcl9I2c1GBVoBwvlIl2 dZZR/n1yJpPmQqhmkfubu+SMdHGgTQZIJ4HaXv78x+3U6SBgncdynKhV7nEYGBhr1pOl DXbhUwQir5PibDuuo8qx99SailL6sVmdXi2Cy5AOIvd2r1kNGLX5HV/AIEisJDvcADxt d1nVIOY6xMslkCFyTv3yyWb1knDS2rfn+KKY3lWV2S/TDMIQJGlRN3Qv7EiJ+oXa6AMz 4r4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZxtiBbLF; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id p6-20020a625b06000000b006b7b42fe43asi8591100pfb.185.2023.10.24.09.07.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 09:07:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZxtiBbLF; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 7B9F1804755B; Tue, 24 Oct 2023 09:07:36 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234875AbjJXQHf (ORCPT + 99 others); Tue, 24 Oct 2023 12:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52000 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234938AbjJXQHd (ORCPT ); Tue, 24 Oct 2023 12:07:33 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B08CD10D1 for ; Tue, 24 Oct 2023 09:07:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 715D3C433C8; Tue, 24 Oct 2023 16:07:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698163651; bh=dcoeFmm3TJwc+pmBDewraxuN1s4KeQO67oBJ4IAfQC8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZxtiBbLFq1SAojCocIzKrGh6CqGJMqcrkuwPjrN+acDiQWaJyj4QPQxo7lu5d7xEG xiP79s70tPenQMSvvHUahFxzYd8Dw6cyyZu0bH8mBpYVurDJV42sAjyaf8C5QUp3Ih 0+NWiI3I5+A4tgdMr4U18l+AqesST40IUiJGY3zIoR5F+7DG9DaJPROPmgXZsrWz1s KIO/9JctIbdAa/B4TjRvmGPfU3yIUpCRcGKEyuQq+JjKBE+dcR9AP1JxIM8vxa74/P KiXb+gsaPen2sALHOtYeZNRw8YOjjpe/0VsMDm0ZHMHdBLMUlWv4eAEd1nVd550TPf DKAHPql72NKDw== From: Christian Brauner To: Jan Kara , Amir Goldstein Cc: Christian Brauner , Jeff Layton , Chuck Lever , linux-fsdevel@vger.kernel.org, linux-nfs@vger.kernel.org, Jeremy Kerr , Ard Biesheuvel , Mike Kravetz , Muchun Song , Greg Kroah-Hartman , Tejun Heo , Eric Van Hensbergen , Latchesar Ionkov , Dominique Martinet Subject: Re: [PATCH] fs: report f_fsid from s_dev for "simple" filesystems Date: Tue, 24 Oct 2023 18:07:11 +0200 Message-Id: <20231024-palastartig-diese-ac7966e35075@brauner> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231023143049.2944970-1-amir73il@gmail.com> References: <20231023143049.2944970-1-amir73il@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Developer-Signature: v=1; a=openpgp-sha256; l=1215; i=brauner@kernel.org; h=from:subject:message-id; bh=dcoeFmm3TJwc+pmBDewraxuN1s4KeQO67oBJ4IAfQC8=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaSav17Gc6qzyVPu2N2Q96JvJHc3mH2Y+5dJoOMZ87TVClrq f28v7ihlYRDjYpAVU2RxaDcJl1vOU7HZKFMDZg4rE8gQBi5OAZhIx3FGhmsM++U3KqkuiP36Nue8Gs ePo980CzNN7KZWsCZnPpz8/jjDf3+/mwJ+nr+Tnvdcbjnfw/nNftrN60wabII3t5tPvTwxjg8A X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 24 Oct 2023 09:07:36 -0700 (PDT) On Mon, 23 Oct 2023 17:30:49 +0300, Amir Goldstein wrote: > There are many "simple" filesystems (*) that report null f_fsid in > statfs(2). Those "simple" filesystems report sb->s_dev as the st_dev > field of the stat syscalls for all inodes of the filesystem (**). > > In order to enable fanotify reporting of events with fsid on those > "simple" filesystems, report the sb->s_dev number in f_fsid field of > statfs(2). > > [...] Applied to the vfs.f_fsid branch of the vfs/vfs.git tree. Patches in the vfs.f_fsid branch should appear in linux-next soon. Please report any outstanding bugs that were missed during review in a new review to the original patch series allowing us to drop it. It's encouraged to provide Acked-bys and Reviewed-bys even though the patch has now been applied. If possible patch trailers will be updated. Note that commit hashes shown below are subject to change due to rebase, trailer updates or similar. If in doubt, please check the listed branch. tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git branch: vfs.f_fsid [1/1] fs: report f_fsid from s_dev for "simple" filesystems https://git.kernel.org/vfs/vfs/c/14673976a658