On Fri, Nov 13, 2020 at 11:52:09AM +0100, Miklos Szeredi wrote: > It's the wrong interface, and we'll have to live with it forever if we > go this route. > > Better get the interface right and *then* think about the > implementation. I don't think adding ->atomic_tmpfile() would be that > of a big deal, and likely other distributed fs would start using it in > the future. Let me think about it; I'm very unhappy with the amount of surgery it has taken to somewhat sanitize the results of ->atomic_open() introduction, so I'd prefer to do it reasonably clean or not at all.