You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was playing with tcmu-runner and the example handlers and I noticed that if I run tcmu-synthesizer and try to add a user:syn device in targetcli it sometimes fails with UserBackedStorageObject creation failed. Could this be caused by tcmu-runner because it replies to TCMU_CMD_ADDED_DEVICE before tcmu-synthesizer [1]?
I think that pull request breaks stuff if no daemon has a handler for the added device. I think it would break what this PR tried to solve: #177.
Anyway, if multiple daemons are not supported, how does tcmu-synthesizer work with targetcli? It tries to register the handler with tcmu-runner over dbus, so I assumed that this is a valid use case. Also, if multiple daemons are not supported, then tcmulib_register shouldn't even exist.
If this is the case, then can you please add a disclaimer in the readme and tcmu-synthesizer explaining this so people don't waste their time trying this like I did.
Writing your own tcmu daemon is appealing because some applications are too big or complex to be contained in a tcmu-runner plugin, and libtcmu doesn't copy memory between the kernel and the handler, so I'm not the first or the last person to think of writing their own daemon.
Hello,
I was playing with tcmu-runner and the example handlers and I noticed that if I run tcmu-synthesizer and try to add a
user:syn
device in targetcli it sometimes fails withUserBackedStorageObject creation failed
. Could this be caused by tcmu-runner because it replies toTCMU_CMD_ADDED_DEVICE
before tcmu-synthesizer [1]?[1] https://github.com/open-iscsi/tcmu-runner/blob/master/libtcmu.c#L217-L242
The text was updated successfully, but these errors were encountered: