Re: [PATCH] virtio-blk: Call revalidate_disk() upon online disk resize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/28/2012 10:32 PM, Vivek Goyal wrote:
> If a virtio disk is open in guest and a disk resize operation is done,
> (virsh blockresize), new size is not visible to tools like "fdisk -l".
> This seems to be happening as we update only part->nr_sects and not
> bdev->bd_inode size.
> 
> Call revalidate_disk() which should take care of it. I tested growing disk
> size of already open disk and it works for me.

Thanks, obviously right. Applied.

-- 
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux