linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Richard W.M. Jones" <rjones@redhat.com>
To: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org,
	fengguang.wu@intel.com
Subject: Re: Bug in BLKBSZSET/GET ioctl ?
Date: Thu, 29 Dec 2011 08:19:10 +0000	[thread overview]
Message-ID: <20111229081910.GA26708@amd.home.annexia.org> (raw)
In-Reply-To: <4EFBE4EB.3040001@cn.fujitsu.com>

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

  reply	other threads:[~2011-12-29  8:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-29  3:51 Bug in BLKBSZSET/GET ioctl ? Wanlong Gao
2011-12-29  3:56 ` Wanlong Gao
2011-12-29  8:19   ` Richard W.M. Jones [this message]
2011-12-29  4:20 ` Wu Fengguang
2011-12-29  4:28   ` Wanlong Gao
2011-12-29  4:40     ` Wu Fengguang
2011-12-29  6:09       ` Wanlong Gao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111229081910.GA26708@amd.home.annexia.org \
    --to=rjones@redhat.com \
    --cc=fengguang.wu@intel.com \
    --cc=gaowanlong@cn.fujitsu.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).