From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 260B247F2DB for ; Tue, 3 Mar 2026 15:07:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772550441; cv=none; b=clQWPpxa3BYQm+/qo61GAgexEr7wB5HOJuAEnO7v2+dooKwMv/HWK3IXWIcs3Ua59t9GyMd8YudR0J4uKYcLiXdHAu1t4Uw58UODpP2HAeiZfKG9/mBvE5SRSl/VUC2gZbqUq/0CdpLp3bm6QJPNCwYOQfDky4RkPh45BJ4XOaA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772550441; c=relaxed/simple; bh=lzPn4cfBkrmbOOOcRRejsUh+Sa7Ipj1cB6cQZ1y3XWc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KRhBYoeLJ1F+TOm4yWmHx8K4orhmOo8LuOoSYNc2fmb+WQHxiNDWRFRw07ShDyeVUtbVfRawJKQw4uPgzBt5qycfKNJb+z4sRUW2AhrhrchuaIM+AQF0YAijc0UONgNJmep6FLc+gwKd2+p/qWdLeTosDxXTVmVfTmgKogKddGk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=VwOsEgIi; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bombadil.srs.infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="VwOsEgIi" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; 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=h2qnHi3bJerVPwQVZ6hbGzGI3s9cl6brHsLSnBWPABw=; b=VwOsEgIiw8JNmvnGbC9RUZ+9Vr 97afeU09O8cx9on7LMAqSgnqlMyypOwb9oM4nfn32gtvR7bsPpNBx88MCM4RbZ0k+PHSt+9LcSI8S tZtPLEs5wducEvx0PgSnFS9AFD1fGA7rnA5Gzyqri82zF5GjqAgFWky1n/ZvnolBhhKv3LlRMYcgX 1JWvq+kBk5HhWVS68B8jWRAUtHMjrj3NIiRqF4huedKn5ug248oSWAMKepNr7yGJEftboqAYV13Z8 ZjmWEzp7ZCcozevEOHRb5XxTkVfrqaT8ST+d2bPVd3guswTXJLpmfIiTf1x8CzXz/I8EO1uT3nxux 2pI7+tDw==; Received: from hch by bombadil.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1vxRLA-0000000FNqG-3RX8; Tue, 03 Mar 2026 15:07:16 +0000 Date: Tue, 3 Mar 2026 07:07:16 -0800 From: Christoph Hellwig To: Amir Goldstein Cc: Christoph Hellwig , Jeff Layton , Jan Kara , Christian Brauner , Al Viro , Chuck Lever , Greg Kroah-Hartman , Steven Rostedt , linux-fsdevel@vger.kernel.org Subject: Re: [PATCH 0/2] fsnotify hooks consolidation Message-ID: References: <20260302183741.1308767-1-amir73il@gmail.com> Precedence: bulk X-Mailing-List: linux-fsdevel@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: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html On Tue, Mar 03, 2026 at 04:05:09PM +0100, Amir Goldstein wrote: > It may sound like that, but in reality, it is quite hard to differentiate > in pseduo fs code between creations that are auto initialized > at mount time and creations that are user triggerred. > > Only the user triggerred ones should be notified and also we only > have a handful of pseduo fs who opted in so far, so I think in this case > staying with opt in is the right way, but open to hear what folks think. Then maybe encode that in the name with _user and _kernel postfix, and also document it very well?