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

Issue 2168843002: Revert of Return correct disk free/available size when FS is mounted with size = 0 (Closed)

Created:
4 years, 5 months ago by phoglund_chromium
Modified:
4 years, 5 months ago
Reviewers:
Lei Zhang, reveman, Sriram
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Return correct disk free/available size when FS is mounted with size = 0 (patchset #4 id:60001 of https://codereview.chromium.org/2152283003/ ) Reason for revert: Breaks host_forwarder on WebRTC bots: https://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/9516/steps/compile/logs/stdio: obj.host/chromium/src/base/base.sys_info_posix.o: In function `base::(anonymous namespace)::GetDiskSpaceInfo(base::FilePath const&, long*, long*)': ../../chromium/src/base/sys_info_posix.cc:(.text._ZN4base12_GLOBAL__N_116GetDiskSpaceInfoERKNS_8FilePathEPlS4_+0x4c): undefined reference to `base::GetFileSystemType(base::FilePath const&, base::FileSystemType*)' I really don't know why it goes into the OS_LINUX branch since the bot is an Android bot though. host_forwarder is in the Chromium codebase. I would have understood it if it was WebRTC code since we have different macros (e.g. WEBRTC_LINUX) which would explain this breakage, but it appears to break host_forwarder. Note that WebRTC will be on GYP a couple more weeks, so this could be a gyp-only problem. Presumably you'll be able to repro if you generate with gyp and try to build host_forwarder in a chromium checkout. Original issue's description: > Return correct disk free/available size when FS is mounted with size = 0 > > When tmpfs is mounted with size = 0 (i.e. without any limit), then statvfs > will return 0 for f_bfree, f_bavail, and f_blocks. Catch this case and return > max_int64 instead. > > BUG=628710 > > Committed: https://crrev.com/6c917630660164bb28d57f31b970b38591c0b8b1 > Cr-Commit-Position: refs/heads/master@{#406473} TBR=thestig@chromium.org,reveman@chromium.org,sriramsr@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=628710 Committed: https://crrev.com/5b052f0889962f08c818ea5bd9a525bbfabe9a2f Cr-Commit-Position: refs/heads/master@{#406825}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -28 lines) Patch
M base/sys_info_posix.cc View 4 chunks +10 lines, -28 lines 0 comments Download

Messages

Total messages: 13 (3 generated)
phoglund_chromium
Created Revert of Return correct disk free/available size when FS is mounted with size = ...
4 years, 5 months ago (2016-07-21 11:31:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2168843002/1
4 years, 5 months ago (2016-07-21 11:31:56 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-07-21 12:41:20 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5b052f0889962f08c818ea5bd9a525bbfabe9a2f Cr-Commit-Position: refs/heads/master@{#406825}
4 years, 5 months ago (2016-07-21 12:43:29 UTC) #7
Lei Zhang
phoglud: It seems unfortunate that we have to revert for a bot that has no ...
4 years, 5 months ago (2016-07-21 19:16:51 UTC) #8
phoglund_chromium
Yes, it is unfortunate, and I'm sure it's frustrating to get a patch reverted for ...
4 years, 5 months ago (2016-07-22 09:16:37 UTC) #9
Lei Zhang
On 2016/07/22 09:16:37, phoglund_chrome wrote: > Yes, it is unfortunate, and I'm sure it's frustrating ...
4 years, 5 months ago (2016-07-22 10:04:30 UTC) #10
phoglund_chromium
Really, so gyp is dying that fast? Oh dear. Yes, do fetch webrtc_android and try ...
4 years, 5 months ago (2016-07-22 11:31:34 UTC) #11
Lei Zhang
On 2016/07/22 11:31:34, phoglund_chrome wrote: > Really, so gyp is dying that fast? Oh dear. ...
4 years, 5 months ago (2016-07-22 17:23:13 UTC) #12
phoglund_chromium
4 years, 5 months ago (2016-07-25 07:25:47 UTC) #13
Message was sent while issue was closed.
On 2016/07/22 17:23:13, Lei Zhang wrote:
> On 2016/07/22 11:31:34, phoglund_chrome wrote:
> > Really, so gyp is dying that fast? Oh dear.
> 
> The Android build was the first to completely switch over to GN, at least 2
> months ago.

Ok, I see.

Powered by Google App Engine
This is Rietveld 408576698