Re: [Devel] [PATCH vz7.39] scsi: virtio: Reduce BUG if total_sg > virtqueue size to WARN.

2017-12-19 Thread Denis V. Lunev
On 12/19/2017 05:26 PM, Denis V. Lunev wrote: > On 12/19/2017 04:02 PM, Roman Kagan wrote: >> From: "Richard W.M. Jones" >> >> If using indirect descriptors, you can make the total_sg as large as you >> want. If not, BUG is too serious because the function later returns >>

Re: [Devel] [PATCH vz7.39] scsi: virtio: Reduce BUG if total_sg > virtqueue size to WARN.

2017-12-19 Thread Denis V. Lunev
On 12/19/2017 04:02 PM, Roman Kagan wrote: > From: "Richard W.M. Jones" > > If using indirect descriptors, you can make the total_sg as large as you > want. If not, BUG is too serious because the function later returns > -ENOSPC. > > Signed-off-by: Richard W.M. Jones

Re: [Devel] [PATCH vz7.39] scsi: virtio: Reduce BUG if total_sg > virtqueue size to WARN.

2017-12-19 Thread Denis V. Lunev
On 12/19/2017 04:02 PM, Roman Kagan wrote: > From: "Richard W.M. Jones" > > If using indirect descriptors, you can make the total_sg as large as you > want. If not, BUG is too serious because the function later returns > -ENOSPC. > > Signed-off-by: Richard W.M. Jones

[Devel] [PATCH vz7.39] scsi: virtio: Reduce BUG if total_sg > virtqueue size to WARN.

2017-12-19 Thread Roman Kagan
From: "Richard W.M. Jones" If using indirect descriptors, you can make the total_sg as large as you want. If not, BUG is too serious because the function later returns -ENOSPC. Signed-off-by: Richard W.M. Jones Reviewed-by: Paolo Bonzini