[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v2] xen-block: handle resize callback
From: |
Anthony PERARD |
Subject: |
Re: [Qemu-block] [PATCH v2] xen-block: handle resize callback |
Date: |
Thu, 31 Jan 2019 15:20:42 +0000 |
User-agent: |
Mutt/1.11.2 (2019-01-07) |
On Wed, Jan 30, 2019 at 04:19:48PM +0000, Paul Durrant wrote:
> Some frontend drivers will handle dynamic resizing of PV disks, so set up
> the BlockDevOps resize_cb() method during xen_block_realize() to allow
> this to be done.
>
> Signed-off-by: Paul Durrant <address@hidden>
> ---
> + /*
> + * Mimic the behaviour of Linux xen-blkback and re-write the state
> + * to trigger the frontend watch.
> + */
> + xen_device_backend_set_state(xendev, backend_state);
:(, that function doesn't write the state again if it hasn't changed.
So in my testing, Linux never did anything.
--
Anthony PERARD