Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(94)

Issue 143240043: code review 143240043: leveldb: consolidated locking with fcntl

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 7 months ago by mtp
Modified:
9 years, 7 months ago
Reviewers:
nigeltao
CC:
nigeltao, golang-codereviews
Visibility:
Public.

Description

leveldb: consolidated locking with fcntl Since commit 769c936aa54446af2db0c32b3c104e68a4b0cbd5, the Go runtime has supported direct fcntl locking. This change proposal drops the manually-implemented platform locks with the consolidated sysctl.FcntlFlock interface.

Patch Set 1 : diff -r be6e88e71effde5311768dc4063e019c047541cf https://code.google.com/p/leveldb-go/ #

Total comments: 6

Patch Set 2 : diff -r be6e88e71effde5311768dc4063e019c047541cf https://code.google.com/p/leveldb-go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -211 lines) Patch
R leveldb/db/file_lock_darwin_amd64.go View 1 chunk +0 lines, -51 lines 0 comments Download
R leveldb/db/file_lock_freebsd.go View 1 chunk +0 lines, -53 lines 0 comments Download
M leveldb/db/file_lock_generic.go View 1 1 chunk +1 line, -5 lines 0 comments Download
R leveldb/db/file_lock_linux_amd64.go View 1 chunk +0 lines, -51 lines 0 comments Download
R leveldb/db/file_lock_openbsd_amd64.go View 1 chunk +0 lines, -51 lines 0 comments Download
A leveldb/db/file_lock_unix.go View 1 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 5
mtp
Hello nigeltao@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/leveldb-go/
9 years, 7 months ago (2014-09-22 18:37:43 UTC) #1
nigeltao
https://codereview.appspot.com/143240043/diff/50001/leveldb/db/file_lock_fcntl.go File leveldb/db/file_lock_fcntl.go (right): https://codereview.appspot.com/143240043/diff/50001/leveldb/db/file_lock_fcntl.go#newcode1 leveldb/db/file_lock_fcntl.go:1: // Copyright 2014 The LevelDB-Go Authors. All rights reserved. ...
9 years, 7 months ago (2014-09-23 05:03:54 UTC) #2
mtp
PTAL at your leisure. https://codereview.appspot.com/143240043/diff/50001/leveldb/db/file_lock_fcntl.go File leveldb/db/file_lock_fcntl.go (right): https://codereview.appspot.com/143240043/diff/50001/leveldb/db/file_lock_fcntl.go#newcode1 leveldb/db/file_lock_fcntl.go:1: // Copyright 2014 The LevelDB-Go ...
9 years, 7 months ago (2014-09-23 09:15:56 UTC) #3
nigeltao
LGTM.
9 years, 7 months ago (2014-09-25 00:16:34 UTC) #4
nigeltao
9 years, 7 months ago (2014-09-25 00:17:28 UTC) #5
*** Submitted as
https://code.google.com/p/leveldb-go/source/detail?r=8c09ded0e4ad ***

leveldb: consolidated locking with fcntl

Since commit 769c936aa54446af2db0c32b3c104e68a4b0cbd5, the Go runtime
has supported direct fcntl locking.  This change proposal drops the
manually-implemented platform locks with the consolidated
sysctl.FcntlFlock interface.

LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://codereview.appspot.com/143240043

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b