| 1 | [Unit] |
| 2 | Description=Enable use of fuse through io_uring |
| 3 | Documentation=https://www.opennet.ru/tips/3270_fuse_io_uring_optimization_tune_kernel.shtml |
| 4 | DefaultDependencies=no |
| 5 | After=systemd-sysctl.service |
| 6 | Before=sysinit.target |
| 7 | |
| 8 | [Service] |
| 9 | Type=oneshot |
| 10 | ExecStart=/bin/sh -c 'echo 1 > /sys/module/fuse/parameters/enable_uring' |
| 11 | ExecStop=/bin/sh -c 'echo 0 > /sys/module/fuse/parameters/enable_uring' |
| 12 | RemainAfterExit=yes |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=sysinit.target |
liannnix / FUSE и io_uring
Last active 7 months ago