Optimized merge algorithm in dc recovery.
Merge pull request #185 from shaitan/master

Optimized merge algorithm in dc recovery.
v2.24.13.11
Moved local_session to separate file
Do not turn on cocaine support in RHEL builds
Use ~0ULL instead of ULLONG_MAX, otherwise it is broken on rhle5
libcocaine-plugin-elliptics should depend on elliptics client's source version
Do not try to redefine O_LARGEFILE
Updated comment about what @offset is supposed to be in dnet_send_file_info_ts()
Return offset within fd in write reply structure
Honor sequential group check when doing state mix: check randomization flag, check sequential flag. Use sequential logic if no flags provided.
Refactored cache support

Added support for append/offset writes to cache
Fixed several synchronisation issues between cache and backend
Added metadata support to cache
Merge pull request #186 from euroelessar/master

Cache refactoring
Do not use randomized states by default, if no ID has been provided. Use following order: check randomization flag, check weight flag (no sequence), use sequential otherwise
v2.24.13.12
Merge branch 'master' of github.com:reverbrain/elliptics
Added missing \n in debug print
Fixed error codes for bulk_read and read commands
Merge pull request #187 from euroelessar/master

Fixed error codes for bulk_read and read commands