We all know nbd kernel space (in the client side ) send I/O request to
nbd server.
And nbd server get the request and give a response. Then nbd kernel space (in
the client side) get the nbd server's response.
I know nbd kernel's request is a kernel thread like this.
...
mutex_unlock(&lo->tx_lock);
thread = kthread_create(nbd_thread, lo, lo->disk->disk_name);
if (IS_ERR(thread)) {
mutex_lock(&lo->tx_lock);
return PTR_ERR(thread);
}
wake_up_process(thread);
...
But i can not find which nbd kernel thread get the nbd server's response in
the drivers/block/nbd.c codes. Cloud anyone tell me the codes please?
Thanks in advance.
--
Thanks
Harry Wei
------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general