diff options
author | Christoph Hellwig <hch@lst.de> | 2011-02-01 23:43:48 +0300 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-05-30 05:44:13 +0400 |
commit | 7a7c924cf03da2a76ea4dc0aac1a788cf95a9c29 (patch) | |
tree | 717aba1aab456d252c684abf256afa8e92b7dd96 /fs/fat | |
parent | 990c91f0af46c57f0291060d928c7ab82f9d5667 (diff) | |
download | linux-7a7c924cf03da2a76ea4dc0aac1a788cf95a9c29.tar.xz |
virtio_blk: allow re-reading config space at runtime
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@lst.de>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions