Hello Kudu Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/14518
to look at the new patch set (#2).
Change subject: [fs] Fix possible overflow when calculate max_open_files
......................................................................
[fs] Fix possible overflow when calculate max_open_files
Originally, use `(rlimit*2)/5` to calculate its 40%, but when rlimit
is very large, `rlimit*2` may overflow, so we should change it
to `(rlimit/5)*2`
In addition, 40% of any value of the `uint64_t` type must be
less than `kint64max`, so there is no need to cap rlimit.
Change-Id: I7f0426c303a1c16758c7274a308bc08d613d79e8
---
M src/kudu/fs/block_manager.cc
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/18/14518/2
--
To view, visit http://gerrit.cloudera.org:8080/14518
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I7f0426c303a1c16758c7274a308bc08d613d79e8
Gerrit-Change-Number: 14518
Gerrit-PatchSet: 2
Gerrit-Owner: Anonymous Coward <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)