~libtorrent.org/libtorrent.org/+git/lt_github:d-komarov-fix_parts_file

Last commit made on 2018-06-17
Get this branch:
git clone -b d-komarov-fix_parts_file https://git.launchpad.net/~libtorrent.org/libtorrent.org/+git/lt_github

Branch merges

Branch information

Name:
d-komarov-fix_parts_file
Repository:
lp:~libtorrent.org/libtorrent.org/+git/lt_github

Recent commits

e95b0ca... by arvidn <email address hidden> on 2018-06-17

fix file mode compatibility test

88eb5f8... by d_komarov <email address hidden> on 2018-06-15

Add `part_file::slot_offset` function

* More consts
* Remove calc_offeset routine

82bad6f... by d_komarov <email address hidden> on 2018-06-14

Fix build error

720f28a... by d_komarov <email address hidden> on 2018-06-14

Fix parts file io error

Since i/o operations are not synchronized, it is possible that one
thread closes file handle, opened in another thread. With addition
of `hidden` file attribute, an old bug in `part_file::open_file()`
revealed both problems, causing a lot of random i/o errors in parts
file. Fixing `open_file` bug should reduce the number of such errors
back to 'normal'.

* Add more const
* Extract slot offset calculation to separate function

2364699... by arvidn <email address hidden> on 2018-06-10

clarify documentation for move_storage()

049d867... by arvid Norberg on 2018-06-03

fixed race condition in random number generator

2408200... by arvid Norberg on 2018-06-03

fix race condition in stat_cache

794ccf4... by arvid Norberg on 2018-06-03

remove unused disk stats counters

95cfc16... by arvidn <email address hidden> on 2018-05-30

fix integer overflow in alert_manager

c55bc7d... by arvidn <email address hidden> on 2018-05-23

improve error handling of failing to change file priority