Change in vdsm[master]: stomp: slow data read when connected from localhost

nsoffer at redhat.com nsoffer at redhat.com
Wed Nov 18 21:26:29 UTC 2015


Nir Soffer has posted comments on this change.

Change subject: stomp: slow data read when connected from localhost
......................................................................


Patch Set 2:

Can you reproduce it without ssl?

I think it can happen like this:

 1. The real socket is readable
 2. The ssl wrapper socket read data from the fd into its buffer
 3. You read 4K from the ssl wrapper, but it has more data available
 4. You poll again on the fd
 5. The fd is not readable

You wait until the fd is readable again.

If my theory is correct, then this patch should eliminate the
problem:
https://gerrit.ovirt.org/48801

Can you test?

-- 
To view, visit https://gerrit.ovirt.org/48608
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I279b2cde25ed9bb42954cf8f72673bd0aad0a6a5
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski at gmail.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
Gerrit-HasComments: No


More information about the vdsm-patches mailing list