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

Issue 3887042: code review 3887042: os: add Sync to *File, wraps syscall.Fsync (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by adg
Modified:
14 years, 2 months ago
Reviewers:
CC:
rsc, brainman, r, r2, golang-dev
Visibility:
Public.

Description

os: add Sync to *File, wraps syscall.Fsync

Patch Set 1 #

Total comments: 1

Patch Set 2 : code review 3887042: os: add Sync to *File, wraps syscall.Fsync #

Total comments: 1

Patch Set 3 : code review 3887042: os: add Sync to *File, wraps syscall.Fsync #

Total comments: 2

Patch Set 4 : code review 3887042: os: add Sync to *File, wraps syscall.Fsync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M src/pkg/os/file.go View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M src/pkg/syscall/syscall_windows.go View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 15
adg
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 2 months ago (2011-01-10 00:19:48 UTC) #1
adg
On further consideration, maybe Sync is a better name for this method. Go types that ...
14 years, 2 months ago (2011-01-10 00:31:02 UTC) #2
brainman
http://codereview.appspot.com/3887042/diff/1/src/pkg/os/file_unix.go File src/pkg/os/file_unix.go (right): http://codereview.appspot.com/3887042/diff/1/src/pkg/os/file_unix.go#newcode102 src/pkg/os/file_unix.go:102: func (file *File) Flush() (err Error) { You might ...
14 years, 2 months ago (2011-01-10 01:31:37 UTC) #3
adg
Hello rsc, brainman (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 2 months ago (2011-01-10 02:23:13 UTC) #4
brainman
Sorry, I didn't make myself clear. You also need to add windows version of syscall.Fsync() ...
14 years, 2 months ago (2011-01-10 02:55:00 UTC) #5
adg
On 10 January 2011 13:55, <alex.brainman@gmail.com> wrote: > Sorry, I didn't make myself clear. You ...
14 years, 2 months ago (2011-01-10 03:11:44 UTC) #6
brainman
LGTM. Thank you.
14 years, 2 months ago (2011-01-10 03:15:50 UTC) #7
r
http://codereview.appspot.com/3887042/diff/12001/src/pkg/os/file.go File src/pkg/os/file.go (right): http://codereview.appspot.com/3887042/diff/12001/src/pkg/os/file.go#newcode415 src/pkg/os/file.go:415: // See your operating system's fsync documentation for more ...
14 years, 2 months ago (2011-01-10 06:24:27 UTC) #8
adg
On 10 January 2011 17:24, <r@golang.org> wrote: > > http://codereview.appspot.com/3887042/diff/12001/src/pkg/os/file.go > File src/pkg/os/file.go (right): > ...
14 years, 2 months ago (2011-01-10 06:41:50 UTC) #9
rsc
Please make the change Alex suggested. http://codereview.appspot.com/3887042/diff/12001/src/pkg/os/file.go File src/pkg/os/file.go (right): http://codereview.appspot.com/3887042/diff/12001/src/pkg/os/file.go#newcode415 src/pkg/os/file.go:415: // See your ...
14 years, 2 months ago (2011-01-11 15:43:44 UTC) #10
rsc
Never mind, I see you made that change. LGTM but wait for r.
14 years, 2 months ago (2011-01-11 15:44:10 UTC) #11
r2
i like rsc's comment better. please also drop the reference to the other documentation we're ...
14 years, 2 months ago (2011-01-11 19:03:27 UTC) #12
adg
On 12 January 2011 06:02, Rob 'Commander' Pike <r@google.com> wrote: > i like rsc's comment ...
14 years, 2 months ago (2011-01-12 00:02:31 UTC) #13
r2
On Jan 11, 2011, at 4:01 PM, Andrew Gerrand wrote: > On 12 January 2011 ...
14 years, 2 months ago (2011-01-12 00:05:47 UTC) #14
adg
14 years, 2 months ago (2011-01-12 00:08:46 UTC) #15
*** Submitted as http://code.google.com/p/go/source/detail?r=7e072383c57d ***

os: add Sync to *File, wraps syscall.Fsync

R=rsc, brainman, r, r2
CC=golang-dev
http://codereview.appspot.com/3887042
Sign in to reply to this message.

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