> On Dec 28, 2016, at 4:48 AM, David C. Partridge > <[email protected]> wrote: > > FWIW I still think the best solution is to suspend the NOP-Out polling (of > active) while a device command is being processed. This way you get the best > of both worlds > > However I do see the attraction of a documentation only fix J
LOL. It’s not (just) that I’m lazy. I honestly don’t think the code should change for this issue. IMHO the NOP usage is a bad idea anyway, but it can be handy to detect a bad connection when no I/O is occurring. The problem I think in this case is that open-iscsi does not treat tape and disc drives separately. So if I send a command to a disc drive and don’t hear back for 8 minutes, I know that is not good. And for a disc drive, they always handle commands disconnected, i.e. the response for a read or write comes later, not when I request it. In that case, the disc brains does actually respond to PINGs while an operation is going on. If we tried to add code that said “if any commands are outstanding don’t send PINGs”, then we could not catch the case where the disc server has gone away while a command was outstanding. So unless you can come up with an idea that addresses this tape issue and regular usage, I don’t see any way to easily fix this. But I’m open to suggestions. :) > > Cheers > Dave > > From: [email protected] <mailto:[email protected]> > [mailto:[email protected] <mailto:[email protected]>] On > Behalf Of The Lee-Man > Sent: 22 December 2016 16:51 > To: open-iscsi > Subject: Re: Problem with iSCSI connected LTO-2 tape drive > > Hi David: > > I have created Issue#35 for this on github. > > On Thursday, December 15, 2016 at 2:00:15 PM UTC-8, David C. Partridge wrote: > You’re right, it is in section 8.2. Maybe it needs to be said in 8.1.1 as > well? > > Dave > -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/d/optout.
