On Sat, 2005-05-28 at 10:32 +0200, Guennadi Liakhovetski wrote: > So, just pass ioctl()'s directly and convert the rest (filesystem) > block > requests separately - wouldn't it be easier and avoid any > modifications to > other drivers? Before you go any further, I suggest you think about what an ioctl is and why we're going through a process of trying to get rid of them in the kernel: They're structured streams of information, where the structure is architecture and 64/32 bit dependent (look at all the issues over compat ioctls). Inherently these things will be incredibly nasty to convert to an architecture neutral network protocol, and you'll have to provide a translator to and from every possible ioctl...they're inherently unsuitable things for building a protocol on top of. On the other hand, the current nbd protocol is block request based, which is why I suggested looking at that instead. James - : send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html