Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

device: Disable netlink support for the device used by go-tcmu #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

device: Disable netlink support for the device used by go-tcmu #16

wants to merge 1 commit into from

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Nov 27, 2017

device: Disable netlink support for the device used by go-tcmu

This patch disables netlink support by adding
nl_reply_supported=-1. This makes go-tcmu program possible to run
with other netlink supported program which also uses
target_core_user.ko on the same host.

If some program enabled netlink support on target_core_user.ko,
go-tcmu stops working as it does not implement netlink device event
handling.

Although go-tcmu could implement netlink support, go-tcmu is a
non-daemon process (so not necessary the device event handling) and
kernel upstream kindly accepted to support the option to disabe
netlink support *1.

*1 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.15-rc1&id=b849b4567549d5a54ab34ffacfd48fca05e8b34e

Fixes #15

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant