Merge lp://qastaging/~verterok/ubuntuone-client/fix-987376 into lp://qastaging/ubuntuone-client
Proposed by
Guillermo Gonzalez
Status: | Work in progress |
---|---|
Proposed branch: | lp://qastaging/~verterok/ubuntuone-client/fix-987376 |
Merge into: | lp://qastaging/ubuntuone-client |
Diff against target: |
250 lines (+76/-39) 2 files modified
tests/syncdaemon/test_tritcask.py (+40/-13) ubuntuone/syncdaemon/tritcask.py (+36/-26) |
To merge this branch: | bzr merge lp://qastaging/~verterok/ubuntuone-client/fix-987376 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Facundo Batista (community) | Approve | ||
Manuel de la Peña (community) | Approve | ||
Review via email: mp+103273@code.qastaging.launchpad.net |
Commit message
Only use mmap in files of size < 2**31, in order to avoid hitting address space limits, and fallback to standard IO.
Description of the change
Only use mmap in files of size < 2**31, in order to avoid hitting address space limits, and fallback to standard IO.
I'll be working on limiting the file growth in a following branch, to fix Bug #987382.
To post a comment you must log in.
Unmerged revisions
- 1234. By Guillermo Gonzalez
-
fix tests
- 1233. By Guillermo Gonzalez
-
fix bad_crc tests to run on windows.
- 1232. By Guillermo Gonzalez
-
don't iterate the generator in DataFile.
iter_entries, just return it. - 1231. By Guillermo Gonzalez
-
fix max mmaped file limit
- 1230. By Guillermo Gonzalez
-
only use mmap in data files <= 2**32, to avoid hitting address space limits, and fallback to standard IO.
Thanks!