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

Issue 2895015: NSS's filesystem speed detection doesn't seem to work on Ubuntu Lucid.... (Closed)

Created:
10 years, 5 months ago by wtc
Modified:
9 years, 7 months ago
Reviewers:
Lei Zhang
CC:
chromium-reviews, brettw-cc_chromium.org
Visibility:
Public.

Description

NSS's filesystem speed detection doesn't work with the latest versions of sqlite, such as 3.6.22. Set the NSS_SDB_USE_CACHE environment variable to "yes" to override NSS's detection if the database is on NFS. Get rid of the USE_NSS_FOR_SSL_ONLY macro because it is simply the opposite of USE_NSS. Use EnvVarGetter to get and set environment variables. Use FilePath instead of std::string to represent path names. R=thestig BUG=48585 TEST=Run Chrome on Ubuntu Lucid with a home directory on "slow" NFS. HTTPS connection setup shoud not be very slow. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52379

Patch Set 1 #

Total comments: 2

Patch Set 2 : Make changes suggested by thestig. #

Patch Set 3 : FilePath needs to non-empty before we can Append. #

Patch Set 4 : Update comments with new understanding of the root cause. #

Patch Set 5 : Resolve conflicts with current tip of the tree. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -28 lines) Patch
M base/nss_util.cc View 1 2 3 4 9 chunks +56 lines, -28 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
wtc
10 years, 5 months ago (2010-07-14 00:11:20 UTC) #1
Lei Zhang
http://codereview.chromium.org/2895015/diff/1/2 File base/nss_util.cc (right): http://codereview.chromium.org/2895015/diff/1/2#newcode81 base/nss_util.cc:81: void UseLocalCacheOfNSSDatabaseIfNFS(const std::string database_dir) { It would be nice ...
10 years, 5 months ago (2010-07-14 00:27:22 UTC) #2
wtc
thestig: thanks a lot for the review. I made the changes you suggested. Please review ...
10 years, 5 months ago (2010-07-14 02:33:17 UTC) #3
wtc
thestig: Please review Patch Set 3. I can't use AppendASCII to add an absolute path ...
10 years, 5 months ago (2010-07-14 03:14:11 UTC) #4
Lei Zhang
10 years, 5 months ago (2010-07-14 04:53:21 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698