linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Bug in BLKBSZSET/GET ioctl ?
@ 2011-12-29  3:51 Wanlong Gao
  2011-12-29  3:56 ` Wanlong Gao
  2011-12-29  4:20 ` Wu Fengguang
  0 siblings, 2 replies; 7+ messages in thread
From: Wanlong Gao @ 2011-12-29  3:51 UTC (permalink / raw)
  To: linux-fsdevel, linux-kernel; +Cc: fengguang.wu

Hi all:

This is first reported to *libguestfs*: https://bugzilla.redhat.com/show_bug.cgi?id=624335

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-12-29  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).