Re: [PATCH] libiscsi: use vzalloc for large allocations in iscsi_pool_init

2017-04-03 Thread Kyle Fortin
On Apr 3, 2017, at 9:41 AM, Johannes Thumshirn <jthumsh...@suse.de> wrote: > > On Mon, Apr 03, 2017 at 06:30:21AM -0700, Kyle Fortin wrote: >> iscsiadm session login can fail with the following error: >> >> iscsiadm: Could not login to [iface: default, target:

Re: [PATCH] libiscsi: use vzalloc for large allocations in iscsi_pool_init

2017-04-05 Thread Kyle Fortin
On Apr 3, 2017, at 3:46 PM, Chet L <chetanl...@gmail.com> wrote: > > On Mon, Apr 3, 2017 at 6:30 AM, Kyle Fortin <kyle.for...@oracle.com> wrote: > >> >>for (i = 0; i < q->max; i++) >>kfree(q->pool[i]); >> -

[PATCH] scsi: libiscsi: use kvzalloc for iscsi_pool_init

2017-05-17 Thread Kyle Fortin
for iscsi_pool in iscsi_pool_init. Signed-off-by: Kyle Fortin <kyle.for...@oracle.com> Tested-by: Kyle Fortin <kyle.for...@oracle.com> Reviewed-by: Joseph Slember <joe.slem...@oracle.com> Reviewed-by: Lance Hartmann <lance.hartm...@oracle.com> --- drivers/scsi/libiscsi.c |4