Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155519
b: refs/heads/master
c: 4eff3ca
h: refs/heads/master
i:
  155517: b548d7b
  155515: e16ec08
  155511: 83b103d
  155503: c3947f4
  155487: b9028eb
  155455: bc77a83
  155391: cfbf84f
v: v3
  • Loading branch information
Christoph Hellwig authored and Rusty Russell committed Jul 17, 2009
1 parent 47ef7f1 commit 2063217
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 7a5049205f7265620c48781814155f2763e70abb
refs/heads/master: 4eff3cae9c9809720c636e64bc72f212258e0bd5
3 changes: 3 additions & 0 deletions trunk/drivers/block/virtio_blk.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,9 @@ static int __devinit virtblk_probe(struct virtio_device *vdev)
blk_queue_max_phys_segments(vblk->disk->queue, vblk->sg_elems-2);
blk_queue_max_hw_segments(vblk->disk->queue, vblk->sg_elems-2);

/* No need to bounce any requests */
blk_queue_bounce_limit(vblk->disk->queue, BLK_BOUNCE_ANY);

/* No real sector limit. */
blk_queue_max_sectors(vblk->disk->queue, -1U);

Expand Down

0 comments on commit 2063217

Please sign in to comment.