On Mon, 2022-02-28 at 16:45 -0800, Luis Chamberlain wrote: > On Tue, Feb 01, 2022 at 02:13:13PM +0000, David Howells wrote: > > James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> wrote: > > > > > If the ioctl debate goes against ioctls, I think configfd would > > > present > > > a more palatable alternative to netlink everywhere. > > > > 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? What io-uring cmd effort? The one to add nvme completions? If it's the completions one, then the configfs interface currently doesn't have an event notifier, which is what the completions patch set seems to require. On the other hand configfd is key/value for get/set with an atomic activate using an fd, so it stands to reason epoll support could be added for events on the fd ... we'd just have to define a retrieval key for an indicator to say which events are ready. James