[d-kernel] [RFC] ALT: io_uring, sysctl: Add 'kernel.unprivileged_io_uring_disabled' sysctl
Vitaly Chikunov
vt на altlinux.org
Сб Янв 28 01:16:55 MSK 2023
On Fri, Jan 27, 2023 at 11:35:41PM +0300, Dmitry V. Levin wrote:
> On Fri, Jan 27, 2023 at 11:10:14PM +0300, Vitaly Chikunov wrote:
> > Dmitry,
> >
> > On Fri, Jan 27, 2023 at 08:30:22PM +0300, Dmitry V. Levin wrote:
> > > On Thu, Jan 26, 2023 at 10:50:17PM +0300, Vitaly Chikunov wrote:
> > > > `kernel.unprivileged_io_uring_disabled=1' is set to disable io_uring
> > > > functionality for non-roots (default). Set to 0 to allow io_uring.
> > >
> > > Makes sense.
> >
> > Perhaps, p10 should have default 0 and Sisyphus default 1?
> > Or both should have default 1?
> >
> > (Only affected package that I care is qemu.)
> >
> > $ apt-cache whatdepends liburing | grep -v -e Depends -e liburing
> > qemu-img-7.2.0-alt3:sisyphus+312630.500.5.2 at 1673473326
> > librbd1-16.2.10-alt2:sisyphus+308894.1000.1.1 at 1666593027
> > qemu-guest-agent-7.2.0-alt3:sisyphus+312630.500.5.2 at 1673473326
> > xfstests-2022.09.25-alt1:sisyphus+308127.100.1.1 at 1665255814
> > libvitastor-client-0.8.4-alt1:sisyphus+313710.100.1.1 at 1674123626
> > libvitastor-blk-0.8.4-alt1:sisyphus+313710.100.1.1 at 1674123626
> > qemu-pr-helper-7.2.0-alt3:sisyphus+312630.500.5.2 at 1673473326
> > pve-qemu-img-1:7.1.0-alt4:sisyphus+310987.100.1.1 at 1669920082
> > glusterfs9-9.3-alt2:sisyphus+287347.100.1.1 at 1634390596
>
> $ echo liburing-devel |join -t$'\t' -11 -22 -o2.1 - beehive/stats/Sisyphus/x86_64/ufb-2 |sort -u |join -t$'\t' - ALT/acl/list.packages.sisyphus
> btrfs-progs rider @everybody
> ceph shaba @qa @everybody
> glusterfs9 lav @everybody
> pve-qemu shrek shaba
> qemu shaba glebfm iv vt
> rocksdb @nobody
> vitastor shaba @everybody
> xfstests vt @everybody
>
> Let's ask these people?
I queued the patch (with default changed to have no restrictions) into
the next un-def/sisyphus, so people can play and have fun with it.
Thanks,
>
>
> --
> ldv
> _______________________________________________
> devel-kernel mailing list
> devel-kernel at lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-kernel
Подробная информация о списке рассылки devel-kernel