Re: [PATCH] fuse: skip lookup during atomic_open() when O_CREAT is set

From: Bernd Schubert

Date: Mon Feb 23 2026 - 10:38:06 EST




On 2/23/26 16:09, Miklos Szeredi wrote:
> On Sat, 21 Feb 2026 at 16:19, Horst Birthelmer <horst@xxxxxxxxxxxxx> wrote:
>
>> I have been looking at that code lately a lot since I was planning to
>> replace it with a compound.
>> I'm not entirely convinced that your proposal is the right direction.
>> I would involve O_EXCL as well, since that lookup could actually
>> help in that case.
>>
>> Take a look at what Miklos wrote here:
>> https://lore.kernel.org/linux-fsdevel/CAJfpegsDxsMsyfP4a_5H1q91xFtwcEdu9-WBnzWKwjUSrPNdmw@xxxxxxxxxxxxxx/
>
> Bernd had actual patches, that got sidetracked unfortunately:
>
> https://lore.kernel.org/all/20231023183035.11035-1-bschubert@xxxxxxx/


After the discussion about LOOKUO_HANDLE my impression was actually that
we want to use compounds for the atomic open.


Thanks,
Bernd