Todd Lipcon has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/11190 )

Change subject: file_cache: stop using sync_on_close when reopening evicted 
files
......................................................................


Patch Set 2:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/11190/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/11190/2//COMMIT_MSG@11
PS2, Line 11: However, with its removal in commit 9a07b2fed, sync_on_close=true
            : should no longer be necessary for correctness.
> Yes, that is the expectation, but I can't imagine how it would have been sa
Yea, that makes sense. I forgot that the file cache doesn't allow a way for an 
"opener" to specify sync_on_close.

Recently I've seen a few cases where it oddly looked like blocks weren't 
getting fsynced where I thought they might have. Is it possible we are missing 
Sync somewhere because in a pre-filecache-world we relied on sync_on_close?


http://gerrit.cloudera.org:8080/#/c/11190/2//COMMIT_MSG@16
PS2, Line 16: An unnecessary fdatasync system call should no-op, but maybe
            : that's not the case on older kernels?
> Yeah that's a conceivable explanation. Or maybe on old kernels an fdatasync
possible, yea



--
To view, visit http://gerrit.cloudera.org:8080/11190
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I845f39ea202ec0cb46ce8e841c6cfb6c3a8dad2c
Gerrit-Change-Number: 11190
Gerrit-PatchSet: 2
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins
Gerrit-Reviewer: Todd Lipcon <[email protected]>
Gerrit-Comment-Date: Fri, 10 Aug 2018 22:28:17 +0000
Gerrit-HasComments: Yes

Reply via email to