Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 354977
b: refs/heads/master
c: 7ae3e03
h: refs/heads/master
i:
  354975: 7095a53
v: v3
  • Loading branch information
K. Y. Srinivasan authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent 7ed59b6 commit 52fd236
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 132368bd0b286457f83f56d0bbdecd85999562dc
refs/heads/master: 7ae3e035195735f9b6ce3308b6240af877a41ea0
10 changes: 10 additions & 0 deletions trunk/drivers/hv/hv_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,16 @@ static int util_probe(struct hv_device *dev,
}
}

/*
* The set of services managed by the util driver are not performance
* critical and do not need batched reading. Furthermore, some services
* such as KVP can only handle one message from the host at a time.
* Turn off batched reading for all util drivers before we open the
* channel.
*/

set_channel_read_state(dev->channel, false);

ret = vmbus_open(dev->channel, 4 * PAGE_SIZE, 4 * PAGE_SIZE, NULL, 0,
srv->util_cb, dev->channel);
if (ret)
Expand Down

0 comments on commit 52fd236

Please sign in to comment.