RE: LTO-4 iSCSI performance less than expected ...

2017-04-03 Thread David C. Partridge
Hmmm I couldn’t find anything about this in the stinit docs. Dave From: open-iscsi@googlegroups.com [mailto:open-iscsi@googlegroups.com] On Behalf Of The Lee-Man Sent: 03 April 2017 20:05 To: open-iscsi Subject: Re: LTO-4 iSCSI performance less than expected ... On Friday, March 31,

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

2017-04-03 Thread Chet L
On Mon, Apr 3, 2017 at 6:30 AM, Kyle Fortin wrote: > > for (i = 0; i < q->max; i++) > kfree(q->pool[i]); > - kfree(q->pool); > + if (q->is_pool_vmalloc) you could do something like: if (is_vmalloc_addr(q->pool)) vfree(...); else

Re: LTO-4 iSCSI performance less than expected ...

2017-04-03 Thread The Lee-Man
On Friday, March 31, 2017 at 2:23:30 PM UTC-7, david.partri...@perdrix.co.uk wrote: > > I don't know? How do I find out? Should I have it set? > >> >> Have you set the Write Immediate Filemark option for the st driver? >> > There are a couple of ways to enable writing immediate filemarks in

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 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: iqn.1986-03.com... >> iscsiadm:

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

2017-04-03 Thread Johannes Thumshirn
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: iqn.1986-03.com... > iscsiadm: initiator reported error (9 - internal error) > > When /etc/iscsi/iscsid.conf sets