ioctl is not used in linux. It was used when the code worked on one of
the BSDs but it is not supported anymore.
> kcall this interface i am not understanding what is the use of kcall ,
> log_debug exactly how it works so provide me direction to know betetr
> about the kcall & log_debug stuff ...I am writing my queries
> 1) kcall
> 2)log_debug
> 3)ioctl
> 4) from where the iscsi request generates where the user pass the info
> that it want to read this target device , write on this target device
>
The initiator will call the iscsi_ipc callout which now ends up just
calling a netlink function in netlink.c. This will send down a netlink
request to the kernel driver. The kernel driver executes the request
then pass up to userspace the result. The netlink.c code will then parse
it and pass back the result to the initiator through the ipc_ev_clbk
callback or if it was a synchronous call it will just return to the
iscsi_ipc callout.