Am 02.02.2010 22:10, schrieb Luiz Capitulino: > Hi, > > This series adds the BLOCK_IO_ERROR event libvirt guys have requested, > I have made some improvements after Kevin's feedback and hope it's in better > shape now. > > The only small issue is that I couldn't get a read error. I've followed > Kevin's > advices wrt NFS, but got only write errors...
I should have explained in more detail what I'm doing to produce a read error... I boot the system from a local image that won't go away when NFS is down. I add another image (can be empty) stored on NFS and with cache=off. Then I turn NFS off and start something like a dd if=/dev/vdb of=/dev/null iflag=direct. This way you produce only reads. Kevin