On Tue, Feb 12, 2013 at 04:42:25PM -0500, Chris Mason wrote: > On Tue, Feb 12, 2013 at 02:05:35PM -0700, Richard W.M. Jones wrote: > > > > Yes, this is inside a very recent KVM (qemu 1.3.0), using virtio-scsi > > as the backing disk. > > Ok, can you please run this on your virtio device file? It will > overwrite the first 256K, so don't do this on a file you care about. > > gcc -Wall -o vtest vtest.c > > ./vtest /dev/xxx > > I've attached vtest.c and gzip'd it just to make sure no mailers mess > with my pretty code.
The output of this is: writing to /dev/sda and nothing else. Since it seems to be intended to be an infinite loop, I left it running for a five minutes before killing it. Will try the btrfsprogs patch next. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html