From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 D7FFB17CA12 for ; Tue, 14 Jan 2025 15:15:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736867723; cv=none; b=S3vlj7XFEfSiJ8dHQOa1gqGPSKDlSXrYkI1lXg87XCYSvFjM4eqIjIsgEv1vv32tRfxOjWHgvBIM2MDp881l8n2AJtiNBEICdt+z43tSolYr/nmYNgi+Jec2ZLFUgWWpxzXu4WwnbYsKhY2zYiZ+mBexYkgbxAw9VSKqRgII9/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736867723; c=relaxed/simple; bh=K3tUSupPtYuUw5HqjRbHQLa6qshmLVrEbAQ9VZtLCvQ=; h=From:To:cc:Subject:MIME-Version:Content-Type:Date:Message-ID; b=X6bQI+1spEhJoYLBI9k42BBdF2ZV7a11/z6pkF5WEd0eT7SuE6kTokfoo40zvbkLMEGnNRUGy6TK1xOS5Smxv56gR4r3yiy8SZxsYhPPiIAZy7ClGjtseHVJZVHtwTGxIqVuY8A3awvDYrnfBcGi1HpR8sZfJroD1cJstGeYFKk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=CVlTx4vA; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="CVlTx4vA" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736867720; h=from:from: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:content-transfer-encoding; bh=cbZzijDFtk90foGzG5nbjJMBB+Z10hsBvZJdQvpjHjM=; b=CVlTx4vAhMbRIhKQHlnZqVC4HdQLAChgfqQ/E6YDXxEiFjmJt9+D/1m1+4+XSLjPbNf4KP 4NMbNqC8W68bbMnd+TW26kDw7INm0dzXwUHwJAoFwUrunVh9NBmPaM8vs3h7RjT+pNx7eI okPIPdxNAlHm8qNPNOWz9uJcP3fT0mo= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-39-Igagn6nkNOehooJA7Cm_Cg-1; Tue, 14 Jan 2025 10:15:18 -0500 X-MC-Unique: Igagn6nkNOehooJA7Cm_Cg-1 X-Mimecast-MFC-AGG-ID: Igagn6nkNOehooJA7Cm_Cg Received: from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 8BBBA1955D6A; Tue, 14 Jan 2025 15:15:16 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.32]) by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7B0F83003FD9; Tue, 14 Jan 2025 15:15:15 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells To: mszeredi@redhat.com cc: dhowells@redhat.com, linux-unionfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: How to support directory opacity in a filesystem for overlayfs to use? Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 14 Jan 2025 15:15:14 +0000 Message-ID: <111000.1736867714@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.4 Hi Mikl=C3=B3s, What's the best way for a network filesystem to make a native directory-is-opaque flag available to the system? Is it best to catch setxattr/getxattr/removexattr("overlay.opaque") and translate these into the RPCs to wrangle the flag? Thanks, David