Andrew Morton wrote: >Lou Langholtz wrote: > > >>That said, this seems like an opportunistic time to further break >> compatibility with the existing nbd-client user tool and do away with >> the problematic components of the ioctl user interface. >> >> >Is a suitably modified userspace tool available? > > Here is an updated patch 6 (I called it 6.1) that fixes some additional locking issues as well as fixing the header file so it can be used by user applications too (like the nbd-client tool). This patch is also incremental against patch 5 (that cleaned up PARANOI stuff). The updated header file could be split in two files. For now though, this is enough change at once (IMO). I have also attached a patch to Pavel's nbd-2.0 release nbd tools that updates the nbd-client to work with linux 2.5 as well as 2.5.74 (assuming the aforementioned patch 6.1 made it into 2.5.74). Handling is switched at compile time however and uses to do the switching. This will have problems of course if the builder doesn't pay close attention to where there header file are coming from or tries to run the same binary on a different kernel release. Etc. Again though, I'm submitting this as food for thought (this may not be ready to get into kernel distribution), and also to help get the nbd-client user space tool sync'd with developments that had long ago taken place in the kernel. The comments received so far have helped enormously at resolving the various issues. Keep them coming! :-) I will be "disconnected" though shortly till Monday.