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 8E97A42AA3; Wed, 24 Sep 2025 17:31:37 +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=1758735097; cv=none; b=ai+YORuwCGxOR1doMlEGJPcnejt0w1j2kFo9TVttSmttSMCnG2vmQyXupmwEacjywnQpAuptB8Scm36c5LsE7jXrwlXd2QkY2wCba93AM0a8dEJQwp9lgusKqn2O+3CyuVMQ8/gGwWkqvRCIRTVN7luQXnsZXVzLANQSLPQD6Ws= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758735097; c=relaxed/simple; bh=JrNEtEpUlUBo/yNXBCCKs8RXyHetG/9gogTA0lVgpdA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=hsfYgP8tHn5m3AFGGmVAQpt3gNPMcTY/iYkqqoaiGDbG0kU2yGWBmz7K3m4mZHuKSWvSwuQfU/8bb5Hq3/pheM22C1DQWHuxJkEDv+y9q4vPOuEOVqmnOlvT97TpsK0874cs1RR65dEKKVFVt56J0JBkd7xXoj7TOCHFDMUKPvI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nYw6vdL5; 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="nYw6vdL5" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C00AC4CEE7; Wed, 24 Sep 2025 17:31:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758735097; bh=JrNEtEpUlUBo/yNXBCCKs8RXyHetG/9gogTA0lVgpdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nYw6vdL5MrqWBPTnSgxMTyvD4PBJY6IVrgqZiJbIiq+xwKpAPHOHplzXXvM+PLqDp auPLQr7s136MR+3OqBIcqtokFqpfq0h1i0d0BFYTfYCECaq9FpQuzksPbMcds5Al1b UtMIDUXnRw9XPrbcaGY+Mex7DqkxNBDRrQFm2cCCe3pCjWWKvDCj/FkoE++woyDiyJ +S56geN3EBV+seWiiXxZ3kn4bOx3eCOGvr0lLwUfQHBOZeg1AZ4Jn8csH0RZVYruG5 li0XXXGnp8mopk45v3S+FISCs9rG3o9gn1FPngTe0mizKFZ0SSws9eRQ0Lw0txs+RN yO4iW3HI7XieQ== Date: Wed, 24 Sep 2025 10:31:36 -0700 From: "Darrick J. Wong" To: Miklos Szeredi Cc: Joanne Koong , bernd@bsbernd.com, linux-xfs@vger.kernel.org, John@groves.net, linux-fsdevel@vger.kernel.org, neal@gompa.dev Subject: Re: [PATCH 4/8] fuse: signal that a fuse filesystem should exhibit local fs behaviors Message-ID: <20250924173136.GN8117@frogsfrogsfrogs> References: <175798149979.381990.14913079500562122255.stgit@frogsfrogsfrogs> <175798150113.381990.4002893785000461185.stgit@frogsfrogsfrogs> <20250918165227.GX8117@frogsfrogsfrogs> <20250919175011.GG8117@frogsfrogsfrogs> <20250923205143.GH1587915@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 Wed, Sep 24, 2025 at 03:55:48PM +0200, Miklos Szeredi wrote: > On Tue, 23 Sept 2025 at 22:51, Darrick J. Wong wrote: > > > Oh, ok. I can do that. Just to be clear about what I need to do for > > v6: > > > > * fuse_conn::is_local goes away > > * FUSE_I_* gains a new FUSE_I_EXCLUSIVE flag > > * "local" operations check for FUSE_I_EXCLUSIVE instead of local_fs > > * fuseblk filesystems always set FUSE_I_EXCLUSIVE > > Not sure if we want to touch fuseblk, as that carries a risk of regressions. Hrm. As it stands today, setting FUSE_I_EXCLUSIVE in fuseblk mode solves various mode/acl failures in fstests. On the other hand, mounting with fuseblk requires fsname to point to a block device that the mount()ing process can open, and if you're working with a local filesystem on a block device, why wouldn't you use iomap mode? Add to that Ted's reluctance to merge the fuseblk support patches into fuse2fs, and perhaps I should take that as a sign to abandon fuseblk work entirely. It'd get rid of an entire test configuration, since I'd only have to check fuse4fs-iomap on a bdev; and classic fuse4fs on a regular file. Even in that second case, fuse4fs could losetup to take advantage of iomap mode. Yeah ok I've persuaded myself to drop the fuseblk stuff entirely. If anyone /really/ wants me to keep it, holler in the next couple of hours. > > * iomap filesystems (when they arrive) always set FUSE_I_EXCLUSIVE > > Yes. Ok, thanks for the quick responses! :) --D > Thanks, > Miklos