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 RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux