From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E2C65290F for ; Fri, 5 Sep 2025 01:28:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757035736; cv=none; b=MTrm8lbSUKn4LjUvA/hhMR9re5n5UVXFWjP43zr8Ah9p1g920KdM5IAhNBO4LVOyNnsfCYqy1yf29tWP41KiHa1KHTwgYLEBKMBhfBziSSGU2NlJ1Dn4zv71LW7VA0FWtTgGjFUUWcJt9zrW2UuO2psn/2xVeJFf9+O//Tx5HZ0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757035736; c=relaxed/simple; bh=JIiLWQwIlxhvXinmcfuehr3kIemYrpCIbmBwroXpH/8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XCjg7x6rW9H0GqLTn687FVtYZ9YNr7/6532kxNbnnIyfLUW93U9QsjX0uN3fh4yFfubmhOZSAEineBs9/tpdmYT3Xlaw+anaHHII0mhQ+Zs238v+KhjWhRP8GUplYk4ZLR3vIMMcqsdQVkE0rXVp85FJ/PYasJOzj2H6zc85V6Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ER5f0khu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ER5f0khu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5CBB6C4CEF5; Fri, 5 Sep 2025 01:28:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757035735; bh=JIiLWQwIlxhvXinmcfuehr3kIemYrpCIbmBwroXpH/8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ER5f0khu6KNAQrl2HkFyzLILrzWtx3EnjTrUO9nE41ffrfbchvq6rZTUiqnXh0pCO 5yJ+w1/mp7Q3rC04cLLxWjudqszpTTafgu2mO63cSGteKrQLDpdhflolLx0oL30giM 5WzM3Yaw3hXHyiVVyOyYULPJDn/3UYlRw7Ay6VXC29q1Qdvn7+tBD7K2G5/mo2Wn5m qiZJZi85NLUmxVl4UrBpVCCOcHpen3yDX8pUPqaC/MB8Zs7ewPYYKcl3Xnq+rmoO/i fCrJFekpaktq4gR6+Q8XTE8Fn1Gw+zalfn0yw1HyGs62CfCmkR8wYXoFhLohsDLHZB XDpo1w3+vh+VQ== Date: Thu, 4 Sep 2025 18:28:54 -0700 From: "Darrick J. Wong" To: Miklos Szeredi Cc: bernd@bsbernd.com, neal@gompa.dev, John@groves.net, linux-fsdevel@vger.kernel.org, joannelkoong@gmail.com Subject: Re: [PATCH 4/7] fuse: implement file attributes mask for statx Message-ID: <20250905012854.GA1587915@frogsfrogsfrogs> References: <175573708506.15537.385109193523731230.stgit@frogsfrogsfrogs> <175573708630.15537.1057407663556817922.stgit@frogsfrogsfrogs> <20250829153938.GA8088@frogsfrogsfrogs> <20250902205736.GB1587915@frogsfrogsfrogs> <20250903154955.GD1587915@frogsfrogsfrogs> 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: On Thu, Sep 04, 2025 at 01:26:36PM +0200, Miklos Szeredi wrote: > On Wed, 3 Sept 2025 at 17:49, Darrick J. Wong wrote: > > > > On Wed, Sep 03, 2025 at 11:55:25AM +0200, Miklos Szeredi wrote: > > > > Agree? > > > > I think we do, except maybe the difficult first point. :) > > Let's then defer the LOOKUPX thing ;) I'm fine with adding IMMUTABLE > and APPEND to fuse_attr::flags. OK. Should I hide that behind the fuse mount having iomap turned on? Or fc->is_local_fs == true? Or let any server set those bits? One thing occurred to me -- for a plain old fuse server that is the client for some network filesystem, the other end might have its own immutable/append bits, in which case we actually *do* want to let those bits through from the FUSE_STATX replies. --D > Thanks, > Miklos >