Re: [PATCH 00/25] vfs: atomic open RFC

From: Steve French
Date: Wed Mar 07 2012 - 16:27:19 EST


On Wed, Mar 7, 2012 at 3:22 PM, Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> This series allows clean implementation of atomic lookup+(create)+open and
> create+open operations that previously were done via ->lookup and ->create using
> open intents.
>
> Testing and review is welcome, but at this stage mainly I'd like to hear
> opinions on the overall design of the new interfaces.

This could be great for network file systems like cifs/smb2

Historically mapping the multistage lookup/create/open to an atomic
opencreate protocol operation (for cifs, and now smb2 and smb2.2)
has always been hard. We go from an atomic syscall to
lookup intents, but it was tricky to make this atomic on the wire in every case.

It will be interesting to review this.

--
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/