From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7219C18E032 for ; Thu, 5 Sep 2024 19:30:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725564604; cv=none; b=Md3hltM9TuKc5dJwaOy6R4k4m/6Ucv7fY/+JsuUoWz7aQjzA5z9KvHAWFWJz89KeugBR3S8HOFOl13MvFIar5G169nxUKlyBiYO8GcTAGLEu8ON6KoU6wa4cHg5eDvwRM4X6e1JoMir3LqMTSXUVq3P60kO/sN4kJ2xXCLuXdlo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725564604; c=relaxed/simple; bh=h+GztmK06ua0ItOo5xyNb+uFSPQwlQl1O+khIF189xA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kS8jcOuwaAWAqbzAXkOzUOxzNkpmFoOUx5UwHVuzOStOOPS/x/oEOAvrN5yfP+IX8v2YFLhT9TYL4S9j+gjbnWuWr8NDNxGydlENA+JiwZXVRUs5CBayYSRxSfB0qHGHekpPNrtZj9Pvgpy26eN88/ZhDkezHhALFTRZwN4QyJ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toxicpanda.com; spf=none smtp.mailfrom=toxicpanda.com; dkim=pass (2048-bit key) header.d=toxicpanda-com.20230601.gappssmtp.com header.i=@toxicpanda-com.20230601.gappssmtp.com header.b=Z3/T92iC; arc=none smtp.client-ip=209.85.222.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=toxicpanda.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=toxicpanda.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=toxicpanda-com.20230601.gappssmtp.com header.i=@toxicpanda-com.20230601.gappssmtp.com header.b="Z3/T92iC" Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-7a8134aefe8so86119485a.2 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=vger.kernel.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=Z3/T92iC/Fj+/Cia06bnr5Xwx1xqgKpVwu0CnncHmhc/EuaCDuXE1YbsTZT0gknmM2 Ku1Y8gBvzZTsGRFAmeATiWCoh5PVX1h2cORqMX2Ii57fV4Juetf9BuPjEThIET2wV2Yb G7I+Wq+sLEpo2sd6hGboa45C3vYQP89JbLNlkKt+1p9bd0o9Pwq2g8eMSEtlMqwPa53Q e9FeFzxH3dJQoGNYjUxg7AH2jY4+W6nCrKVWACOQyH/QxpRZ0VEnh7sJnE0+9oeXQBNc hcwD83qYlCjnUz6PMtyk/iBJ2u0XNtRQeeBOWPNnI/pM3Dy0AbGtIR8eJGk4bBCy5jX/ k3bA== 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=t2xROJHFS4VnUk69euOt+qo1lQARS0cInBseE5A/Qelvp9rXOMsbw+itX1z2YLRNII GeIL8vORW0Z+yNg9SgO6arC6iclAtT4F41d6uXqEypUjvb11eIoDoUWPP4ac/Ri2totR wyJ+n1XvWFnsLK8HFkz4GK3RDIVMEhuwLXRDQ7ILoTgbtZ6aCP+tjHv8LxvZNh8xN429 OLG7kJhVKW1d4TYs7hXsr+9YzhG61OnWOvbyTZCIvaIhWIGhXi0iKAttcMSzdvEeJvKh HBRVKEyshv0r1dobCOS8jbdlElo1xpKdVBuZec8TkcTroydSURk96FApGNlu9hpQnzz+ SDng== X-Forwarded-Encrypted: i=1; AJvYcCW84j0tofSaVLzW7Tj0iSc7Jzl3yIau+wdnXQmiSJZlMQo00J1t2tZGZnUfee0uta+fMozL+zVChVByL0sG2A==@vger.kernel.org X-Gm-Message-State: AOJu0YxTPVcT8tTCvsl8fyXrWVnCBAQBtF9tSz3MhUHCJzqtdH659car tySHLZUDNRbCrR4oR/KuRHryXZRwL/apVvTwYC6Yuzmv+u7ChfAqHfw2dsKiZFtCVGikOUfg8ah L 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> Precedence: bulk X-Mailing-List: linux-bcachefs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240905120808.7fcsnv7nslqsq4t6@quack3> 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