diff options
Diffstat (limited to 'include/linux/hyperv.h')
-rw-r--r-- | include/linux/hyperv.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index b3e24368930a..14131b6fae68 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
@@ -905,6 +905,13 @@ struct vmbus_channel { | |||
905 | 905 | ||
906 | bool probe_done; | 906 | bool probe_done; |
907 | 907 | ||
908 | /* | ||
909 | * We must offload the handling of the primary/sub channels | ||
910 | * from the single-threaded vmbus_connection.work_queue to | ||
911 | * two different workqueue, otherwise we can block | ||
912 | * vmbus_connection.work_queue and hang: see vmbus_process_offer(). | ||
913 | */ | ||
914 | struct work_struct add_channel_work; | ||
908 | }; | 915 | }; |
909 | 916 | ||
910 | static inline bool is_hvsock_channel(const struct vmbus_channel *c) | 917 | static inline bool is_hvsock_channel(const struct vmbus_channel *c) |