Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(69)

Issue 583883002: Adds TCP FastOpen blackhole recovery code to avoid getting persistently blackholed. (Closed)

Created:
6 years, 3 months ago by Jana
Modified:
6 years, 2 months ago
Reviewers:
Ilya Sherman, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, cbentzel, ycheng
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Adds TCP FastOpen blackhole recovery code to avoid getting persistently blackholed. BUG=402005, 413370 Committed: https://crrev.com/764425441131e861b035499e3ecb5787c866a266 Cr-Commit-Position: refs/heads/master@{#297763}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fixed constness #

Total comments: 2

Patch Set 3 : Nit fixed. #

Total comments: 14

Patch Set 4 : "Streamlined logic for when RecordTCPFastOpenStatus is called (and other nits.)" #

Total comments: 12

Patch Set 5 : Nits addressed and histogram updated. #

Total comments: 12

Patch Set 6 : Comments added and/or clarified. #

Total comments: 10

Patch Set 7 : Removed check in UpdateTCPFastOpenStatusAfterRead #

Patch Set 8 : Rebase. #

Patch Set 9 : Minor nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+179 lines, -90 lines) Patch
M net/socket/tcp_socket_libevent.h View 1 2 3 4 5 6 7 8 3 chunks +57 lines, -32 lines 0 comments Download
M net/socket/tcp_socket_libevent.cc View 1 2 3 4 5 6 7 14 chunks +114 lines, -53 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 33 (5 generated)
Jana
Randy: I have a question inline that you may be able to answer, PTAL. https://codereview.chromium.org/583883002/diff/1/net/socket/tcp_socket_libevent.cc ...
6 years, 3 months ago (2014-09-19 02:18:16 UTC) #2
mmenke
On 2014/09/19 02:18:16, Jana wrote: > Randy: I have a question inline that you may ...
6 years, 3 months ago (2014-09-19 17:57:35 UTC) #3
Randy Smith (Not in Mondays)
Answered the question to the best of my ability. Do you want an actual review? ...
6 years, 3 months ago (2014-09-22 16:05:13 UTC) #4
Jana
Randy -- thanks for the answer. I've responded inline. Of course, if you want to ...
6 years, 3 months ago (2014-09-22 17:04:56 UTC) #5
Randy Smith (Not in Mondays)
Unless you ask, I'm afraid I'm not going to do a full review. This week ...
6 years, 3 months ago (2014-09-22 17:42:47 UTC) #6
Randy Smith (Not in Mondays)
On 2014/09/22 17:42:47, rdsmith wrote: > Unless you ask, I'm afraid I'm not going to ...
6 years, 3 months ago (2014-09-22 17:44:21 UTC) #7
Jana
No troubles, Randy. Hopefully, Matt can do a review, and all will be well :-) ...
6 years, 3 months ago (2014-09-22 23:16:04 UTC) #8
mmenke
https://codereview.chromium.org/583883002/diff/40001/net/socket/tcp_socket_libevent.cc File net/socket/tcp_socket_libevent.cc (right): https://codereview.chromium.org/583883002/diff/40001/net/socket/tcp_socket_libevent.cc#newcode148 net/socket/tcp_socket_libevent.cc:148: tcp_fastopen_status_, FAST_OPEN_MAX_VALUE); You need to update histograms.xml in this ...
6 years, 3 months ago (2014-09-23 15:21:01 UTC) #9
mmenke
About the reuse issue: The network stack itself doesn't reuse sockets after they're disconnected. However, ...
6 years, 3 months ago (2014-09-23 15:49:07 UTC) #10
Jana
Thanks, Matt. I've addressed your comments, and made some changes otherwise also. In particular, I've ...
6 years, 3 months ago (2014-09-24 00:51:27 UTC) #11
mmenke
https://codereview.chromium.org/583883002/diff/60001/net/socket/tcp_socket_libevent.cc File net/socket/tcp_socket_libevent.cc (right): https://codereview.chromium.org/583883002/diff/60001/net/socket/tcp_socket_libevent.cc#newcode422 net/socket/tcp_socket_libevent.cc:422: // Reset TCP FastOpen state. Should we have: if ...
6 years, 3 months ago (2014-09-24 14:46:12 UTC) #12
Jana
Thanks, Matt. I've addressed your comments, and I thought about the histograms... I've added another ...
6 years, 2 months ago (2014-09-25 16:10:16 UTC) #13
mmenke
Jana: You'll need signoff from a histograms owner as well as me.
6 years, 2 months ago (2014-09-25 22:26:52 UTC) #14
Jana
+asvitkine for histograms.
6 years, 2 months ago (2014-09-25 22:30:38 UTC) #16
Jana
+isherman, also for histograms review (in case Alexei isn't able to get to this today.)
6 years, 2 months ago (2014-09-26 00:05:45 UTC) #18
mmenke
On 2014/09/26 00:05:45, Jana wrote: > +isherman, also for histograms review (in case Alexei isn't ...
6 years, 2 months ago (2014-09-26 00:09:53 UTC) #19
Ilya Sherman
histograms lgtm
6 years, 2 months ago (2014-09-26 01:33:07 UTC) #20
Jana
Thanks, Ilya!
6 years, 2 months ago (2014-09-26 15:46:13 UTC) #21
mmenke
https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc File net/socket/tcp_socket_libevent.cc (right): https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc#newcode45 net/socket/tcp_socket_libevent.cc:45: nit: Remove extra blank line. https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc#newcode273 net/socket/tcp_socket_libevent.cc:273: rv = ...
6 years, 2 months ago (2014-09-29 17:49:34 UTC) #23
mmenke
https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc File net/socket/tcp_socket_libevent.cc (right): https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc#newcode590 net/socket/tcp_socket_libevent.cc:590: UpdateTCPFastOpenStatusAfterRead(); On 2014/09/29 17:49:34, mmenke wrote: > Not relevant ...
6 years, 2 months ago (2014-09-29 17:51:55 UTC) #24
Jana
Thanks much, Matt, for the careful review. Responses inline. https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc File net/socket/tcp_socket_libevent.cc (right): https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc#newcode45 net/socket/tcp_socket_libevent.cc:45: ...
6 years, 2 months ago (2014-09-29 23:01:47 UTC) #25
mmenke
Two more questions, a couple minor comments. https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc File net/socket/tcp_socket_libevent.cc (right): https://codereview.chromium.org/583883002/diff/80001/net/socket/tcp_socket_libevent.cc#newcode618 net/socket/tcp_socket_libevent.cc:618: // TCP ...
6 years, 2 months ago (2014-09-30 14:30:35 UTC) #26
Jana
Thanks, Matt. I've answered your questions below, and made small mods to the code in ...
6 years, 2 months ago (2014-10-01 01:54:00 UTC) #27
mmenke
LGTM! https://codereview.chromium.org/583883002/diff/100001/net/socket/tcp_socket_libevent.cc File net/socket/tcp_socket_libevent.cc (right): https://codereview.chromium.org/583883002/diff/100001/net/socket/tcp_socket_libevent.cc#newcode587 net/socket/tcp_socket_libevent.cc:587: if (rv >= 0) On 2014/10/01 01:54:00, Jana ...
6 years, 2 months ago (2014-10-01 02:11:13 UTC) #28
Jana
Awesome -- Thanks, Matt! I'll rebase and submit.
6 years, 2 months ago (2014-10-01 19:17:58 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/583883002/160001
6 years, 2 months ago (2014-10-02 00:33:03 UTC) #31
commit-bot: I haz the power
Committed patchset #9 (id:160001) as 6373bd5afd83165835230108d465b89aca3e3b9b
6 years, 2 months ago (2014-10-02 01:53:55 UTC) #32
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 01:54:26 UTC) #33
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/764425441131e861b035499e3ecb5787c866a266
Cr-Commit-Position: refs/heads/master@{#297763}

Powered by Google App Engine
This is Rietveld 408576698