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*: https://bugzilla.redhat.com/show_bug.cgi?id=624335
>
>
> The blockdev-get/setbsz in *libguestfs* is just a wraper of util-linux's *blockdev --get/setbsz*.

Agreed.

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:

http://git.annexia.org/?p=libguestfs.git;a=blob;f=daemon/blockdev.c;h=d056abef1739de7b9e9aab118c138bae403e11e5;hb=HEAD#l106

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://et.redhat.com/~rjones/virt-top
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/