Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657978 - sys-block/tcmu-runner package request (A daemon that supports LIO userspace backends)
Summary: sys-block/tcmu-runner package request (A daemon that supports LIO userspace b...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement (vote)
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-12 14:05 UTC by giskard
Modified: 2020-01-27 06:09 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
new tcmu-runner ebuild (tcmu-runner-1.4.0.ebuild,1.52 KB, text/plain)
2018-11-14 11:01 UTC, giskard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giskard 2018-06-12 14:05:37 UTC
when it comes to the linux io, targetcli is the best suitable utility, but there need to be a userspace handler to have the LIO works with it's excellent flexibility.

and another tool is for rdma, similar to tcmu-runner, it's for software rdma function.

We play with linux, with so many features available, we need the tools to have more fun!

Reproducible: Always
Comment 1 giskard 2018-06-12 14:08:02 UTC
and they are also involved in the repository of arch linux, hoping it comes to gentoo soon!
Comment 2 Jonas Stein gentoo-dev 2018-06-23 19:38:33 UTC
Many ebuild requests remain open for years, because nobody maintains the package.
If you want to be (proxied) maintainer of this package, please contact the proxy team [1] and prepare an ebuild [2].

You may want to link your repository [3] or attach the ebuild here until it makes its way to the official tree.

tcmu-runner is available on some other distributions. [4]

"""
LIO is the SCSI target in the Linux kernel. It is entirely kernel code, and allows exported SCSI logical units (LUNs) to be backed by regular files or block devices. But, if we want to get fancier with the capabilities of the device we're emulating, the kernel is not necessarily the right place. While there are userspace libraries for compression, encryption, and clustered storage solutions like Ceph or Gluster, these are not accessible from the kernel.

The TCMU userspace-passthrough backstore allows a userspace process to handle requests to a LUN. But since the kernel-user interface that TCMU provides must be fast and flexible, it is complex enough that we'd like to avoid each userspace handler having to write boilerplate code.

tcmu-runner handles the messy details of the TCMU interface -- UIO, netlink, pthreads, and DBus -- and exports a more friendly C plugin module API. Modules using this API are called "TCMU handlers". Handler authors can write code just to handle the SCSI commands as desired, and can also link with whatever userspace libraries they like.
"""
https://github.com/open-iscsi/tcmu-runner


Please create another ticket for the other package.

[1] https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers
[2] https://devmanual.gentoo.org/
[3] https://wiki.gentoo.org/wiki/Ebuild_repository
[4] https://repology.org/metapackage/tcmu-runner/versions
Comment 3 giskard 2018-11-14 11:01:00 UTC
Created attachment 555080 [details]
new tcmu-runner ebuild

sorry for the long delay, just before the days, I managed to create the ebuild for it and it works well for me, as this is the initial post so post it here for now, later I need to try the official way

thanks!