lkml.org 
[lkml]   [2011]   [Dec]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Bug in BLKBSZSET/GET ioctl ?
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*.

>
> Then, I looked into upstream util-linux and it seems nothing wrong. I'm not convinced that it's a kernel bug.
>
> produce:
>
> ---
> # ./util-linux/disk-utils/blockdev --getbsz /dev/sda6
> 4096
> # ./util-linux/disk-utils/blockdev --setbsz 2048 /dev/sda6
> # ./util-linux/disk-utils/blockdev --getbsz /dev/sda6
> 4096
> # ./util-linux/disk-utils/blockdev --setbsz 512 /dev/sda6
> # ./util-linux/disk-utils/blockdev --getbsz /dev/sda6
> 4096
>
> ---
>
> I'm not sure if it is related to write-back, but still CCed to Fengguang.
>
>
>
> Thanks,
> -Wanlong Gao




\
 
 \ /
  Last update: 2011-12-29 04:59    [W:0.038 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site