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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4328BCD5BB8 for ; Thu, 5 Sep 2024 19:30:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D92056B0089; Thu, 5 Sep 2024 15:30:04 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id D41086B008A; Thu, 5 Sep 2024 15:30:04 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C08AA6B0092; Thu, 5 Sep 2024 15:30:04 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 9F8006B0089 for ; Thu, 5 Sep 2024 15:30:04 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id 5311B1A0997 for ; Thu, 5 Sep 2024 19:30:04 +0000 (UTC) X-FDA: 82531675128.18.E0B28CF Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by imf03.hostedemail.com (Postfix) with ESMTP id 5AAB82001E for ; Thu, 5 Sep 2024 19:30:02 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=toxicpanda-com.20230601.gappssmtp.com header.s=20230601 header.b=B+SguVw4; spf=none (imf03.hostedemail.com: domain of josef@toxicpanda.com has no SPF policy when checking 209.85.222.169) smtp.mailfrom=josef@toxicpanda.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1725564553; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=uLq88qKC5eEOv6jE9dMcoyRYpwT+k6ZKS0lrxy9sSsE=; b=tkZwdRUNYNN8DmsaG2pNjfRfzTEhzIfv2GkivLVo+xdKCqqzsMIqHKi7KnJJ51JFI4Oi+w sTzzK2GKWv1nHfuBC2XSLJ5m9A3fD55CoTGU/dPNkJ5idyEShB5i1FVdXuhhtmcZoAdDbo AqQ4flCFWV+araXUbJqWbutE1MNrfc4= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=toxicpanda-com.20230601.gappssmtp.com header.s=20230601 header.b=B+SguVw4; spf=none (imf03.hostedemail.com: domain of josef@toxicpanda.com has no SPF policy when checking 209.85.222.169) smtp.mailfrom=josef@toxicpanda.com; dmarc=none ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1725564553; a=rsa-sha256; cv=none; b=TgqJTG2uTwXp9HZCtuzOqJE2VWID2+KNqNSW0FUAcXurQwN+8bqL/qjm7qFycSGJJ103k6 /UvJs9jTBMzbBa5uV9+4kgDnS2fMCkKWfJb9aQkNx6qpQFOuSCS9XrZ3cSkSp0Yct3xy4A hHAIVyVtzyhOoRpjy0OOMo6NHbWzNUs= Received: by mail-qk1-f169.google.com with SMTP id af79cd13be357-7a8125458f2so80219485a.1 for ; Thu, 05 Sep 2024 12:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20230601.gappssmtp.com; s=20230601; t=1725564601; x=1726169401; darn=kvack.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=uLq88qKC5eEOv6jE9dMcoyRYpwT+k6ZKS0lrxy9sSsE=; b=B+SguVw480tdnvVNZnTbQ4a/I1aAaL7N7kS67UuElx211Kci5WLGvo9IRUZwdCqt4E s9GafUTrGK2laH6b+fN6KCAHPrqrzA4g2/pAfgCuSGwQjOkFntqs1nIuG88uwZ0HOode hnFYtEjlxrwEy00cESNlcKLuWij+zSsfbimPAFdcE183wrlhShqE9i2caIoaTLa7AxO4 Zn7VsU4vJ4PpoGACYiYHDEtx1KHE4XfFgDAJNMaYV/0Ude23OQNfv5Ojic6/+ITYzMwZ sTj8pauzw2u81X4ZNiWBtAgXUa32Vk/hiQ0CrXHh/wqPZ5a8SIF35XLDfl2O6EpUHpQQ CaGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725564601; x=1726169401; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=uLq88qKC5eEOv6jE9dMcoyRYpwT+k6ZKS0lrxy9sSsE=; b=DhyG4dOqRo3sjQDlDex7VK0VtZ9nceMpmzPu+tIym3foZNzrTSLWXtCwBrqh/NmZe5 zLw0pUsx0XL/u6EONBU6eR66pJDk/DfsgAuX6mxwqkZKE2o/Y6mS3GVVlh1ubB/sUG4a bcnekHamvXP64Cy2+taOSrXJl5SdrH5GjAaokAsAuICUKblJHXQID6WOhJa/s+ZN3LXI rvnvjENkCQRsqOq6zIsqycDbop2b1l1SK3owuGkEzc363ZUcaK5r6IWSGFfMwOvelFrc /yAUTIlVSox5+K2942d4+26cXYHTJsff8y0NNbYXKMJNvvy3BrKLPRHV5OXqnHBQyzoF qMvg== X-Forwarded-Encrypted: i=1; AJvYcCVUjUvNheS9VZubxinLrVLwvnjZFSXi0O9XXvNNPsUvcKwWpOV7CMXCUhIvP+j6TEpX2PTlRxUdmg==@kvack.org X-Gm-Message-State: AOJu0Yx2jmrB8npDC4+gxdtH3abgwRurcEDv7OxMM8AyDrVQexWBXWSh E0g/BXKtd/wfrKAdWSgA+IazqnNNLJy8Br8M0iPP6XpW3SpEXCL54oYt6EzrCy8= X-Google-Smtp-Source: AGHT+IH/jKRTwmHj2A0Fw8hBIQQEYZheGvncMyz59vEBTim/gY8yU8p+bmOgT7GJ5npitcpK4cA+uw== X-Received: by 2002:a05:620a:29d0:b0:7a2:275:4841 with SMTP id af79cd13be357-7a99733aef1mr14265285a.34.1725564601247; Thu, 05 Sep 2024 12:30:01 -0700 (PDT) Received: from localhost (syn-076-182-020-124.res.spectrum.com. [76.182.20.124]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7a98ef1f9a4sm101960785a.2.2024.09.05.12.30.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 12:30:00 -0700 (PDT) Date: Thu, 5 Sep 2024 15:29:59 -0400 From: Josef Bacik To: Jan Kara Cc: kernel-team@fb.com, linux-fsdevel@vger.kernel.org, amir73il@gmail.com, brauner@kernel.org, linux-xfs@vger.kernel.org, linux-bcachefs@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v5 00/18] fanotify: add pre-content hooks Message-ID: <20240905192959.GA3710628@perftesting> References: <20240905120808.7fcsnv7nslqsq4t6@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240905120808.7fcsnv7nslqsq4t6@quack3> X-Rspamd-Server: rspam03 X-Rspam-User: X-Rspamd-Queue-Id: 5AAB82001E X-Stat-Signature: miwr96dbqd7ag959ewujkjyqdggqjbjn X-HE-Tag: 1725564602-155849 X-HE-Meta: U2FsdGVkX1+HzeSpg+fVGVtXmjXQ9NmXb3kG+c2ic/8hbIruF9gOo2l7wGHONS5xCSQ2kqgSyQujbtdFCfQOyf7n59nhlELlx/XuKcp3ZuiI8h9SWk7HvjAmEUVWtBAliwNIX2xISpkAdsnspC6F//blfLqCUSagrXMSmHtSZixiZoiVwAfah/sk6QX7R0A72hm81yl7szKWGCrb6HewnOKbtjni4eUq/azvTU6OIOungUYNhZS7CbxWhsd6ktYWKDVCoVCzkhX/GRZZsn736i3m6YjZkrpRcdRHliVgwZZYFdQk1PhbzNSSHlmfYEKFm0umhh4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bogosity: Ham, tests=bogofilter, spamicity=0.000128, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: On Thu, Sep 05, 2024 at 02:08:08PM +0200, Jan Kara wrote: > Hello! > > On Wed 04-09-24 16:27:50, Josef Bacik wrote: > > These are the patches for the bare bones pre-content fanotify support. The > > majority of this work is Amir's, my contribution to this has solely been around > > adding the page fault hooks, testing and validating everything. I'm sending it > > because Amir is traveling a bunch, and I touched it last so I'm going to take > > all the hate and he can take all the credit. > > > > There is a PoC that I've been using to validate this work, you can find the git > > repo here > > > > https://github.com/josefbacik/remote-fetch > > The test tool seems to be a bit outdated wrt the current series. It took me > quite a while to debug why HSM isn't working with it (eventually I've > tracked it down to the changes in struct fanotify_event_info_range...). > Anyway all seems to be working (after fixing up some missing export), I've > pushed out the result I have to: Eesh sorry, I updated it for the fstests and used that as the source of truth for this stuff, which is how I validated all of the fs'es that got the FS_ALLOW_HSM flag. > > https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git fsnotify > > and will push it to linux-next as well so that it gets some soaking before > the merge window. That being said I'd still like to get explicit ack from > XFS folks (hint) so don't patches may still rebase due to that. > Awesome, thanks! Josef