Re: Bug in BLKBSZSET/GET ioctl ?

From: Richard W.M. Jones
Date: Thu Dec 29 2011 - 03:19:39 EST

On Thu, Dec 29, 2011 at 11:56:27AM +0800, Wanlong Gao wrote:
> On 12/29/2011 11:51 AM, Wanlong Gao wrote:
> > Hi all:
> >
> > This is first reported to *libguestfs*:
> The blockdev-get/setbsz in *libguestfs* is just a wraper of util-linux's *blockdev --get/setbsz*.


I don't think libguestfs is anything to do with it, since those
commands simply translate to running
/sbin/blockdev --{get,set}bsz /dev/sdX:;a=blob;f=daemon/blockdev.c;h=d056abef1739de7b9e9aab118c138bae403e11e5;hb=HEAD#l106


Richard Jones, Virtualization Group, Red Hat
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at