[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <201102041310.00122.rusty@rustcorp.com.au>
Date: Fri, 4 Feb 2011 13:09:59 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Christoph Hellwig <hch@....de>
Cc: "Michael S. Tsirkin" <mst@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] virtio_blk: allow re-reading config space at runtime
On Wed, 2 Feb 2011 07:13:48 am Christoph Hellwig wrote:
> Wire up the virtio_driver config_changed method to get notified about
> config changes raised by the host. For now we just re-read the device
> size to support online resizing of devices, but once we add more
> attributes that might be changeable they could be added as well.
>
> Note that the config_changed method is called from irq context, so
> we'll have to use the workqueue infrastructure to provide us a proper
> user context for our changes.
>
> Signed-off-by: Christoph Hellwig <hch@....de>
Thanks, applied!
Cheers,
Rusty.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists