Re: [LSF/MM/BPF TOPIC] configfd as a replacement for both ioctls and fsconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 02, 2022 at 03:19:32PM +0000, David Howells wrote:
> Luis Chamberlain <mcgrof@xxxxxxxxxx> wrote:
> 
> > > It'd be nice to be able to set up a 'configuration transaction' and then
> > > do a commit to apply it all in one go.
> > 
> > Can't io-uring cmd effort help here?
> 
> I don't know.  Wouldn't that want to apply each element as a separate thing?

There is nothing to stop us to design an API which starts a transaction / ends.
And io-uring cmd supports links so this is all possible in theory, I just don't
think anyone has done it before.

I mean... io-uring cmd file operation stuff is not even upstream yet...

> But you might want to do something more akin to a db transaction, where you
> start a transaction, read stuff, consider your changes, propose your changes
> and then commit - which would mean io_uring wouldn't help.

I think Pavel had some advanced use cases to support that with io-uring
cmd work. For instance open a file descriptor and then work on it all
in the same chain of commands sent.

  Luis



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux