search for: sg_elements

Displaying 2 results from an estimated 2 matches for "sg_elements".

Did you mean: n_elements
2010 Jun 03
1
[PULL] virtio fixes
...ellwig <hch at lst.de> Date: Tue May 25 14:17:54 2010 +0200 virtio-blk: fix minimum number of S/G elements We need at least one S/G element to operate properly, as does the block layer which increments it to one anyway. We hit this due to a qemu bug which advertises a sg_elements of 0 under some circumstances. Signed-off-by: Christoph Hellwig <hch at lst.de> Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> (tweaked logic) drivers/block/virtio_blk.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 0047634d3daebca9e99a22e...
2010 Jun 03
1
[PULL] virtio fixes
...ellwig <hch at lst.de> Date: Tue May 25 14:17:54 2010 +0200 virtio-blk: fix minimum number of S/G elements We need at least one S/G element to operate properly, as does the block layer which increments it to one anyway. We hit this due to a qemu bug which advertises a sg_elements of 0 under some circumstances. Signed-off-by: Christoph Hellwig <hch at lst.de> Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> (tweaked logic) drivers/block/virtio_blk.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) commit 0047634d3daebca9e99a22e...