Hi Chris, 在 2016年7月21日星期四 UTC+8上午2:09:03,Chris Leech写道: > > On Wed, Jul 20, 2016 at 01:50:59AM -0700, Guangliang Zhao wrote: > > Hi folks, > > > > I send merge request “iscsid: reset socket when session recovery”,any > > comments are appreciated > > > > There are serveral independent target servers in our system,initiator > could > > connect anyone at random, > > so packages in the old socket maybe corrupt data. > > > > This patch discard all the old packages when recovery and protect the > data. > > Hello, > > Thank you for reporting this. This is similar to an issue that I've > been testing a fix for and need to merge over to the main github. > > You can see that here, the only difference is that it applies SO_LINGER > only when it's not a normal close during logout. > > > https://github.com/cleech/open-iscsi/commit/742e4e2fae1ffa3a86247e23e0d36a2f47481ff1 > >
Wonderful,when it would be merged? > > Are your corruption issues after an error recovery that establishes a > new connection to your cluster of target servers? Do you think this > patch would suffice? Yes, I have made a long term test and it works. > I'm wary of disabling socket lingering in a clean > logout situation. > You are right, it should be disabled when logout. > > - Chris > -- 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.
