BTW you might be interested in a ‘fio’ backend I wrote for testing NBD
servers. The current public version is here:
https://www.spinics.net/lists/fio/msg07831.html
but I also now have a version based on libnbd although it's not quite
ready for use.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v