1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-04 09:33:36 +00:00
Files
rclone/backend
Michał Matczuk 399cf18013 s3: use single memory pool
Previously we had a map of pools for different chunk sizes.
In practice the mapping is not very useful and requires a lock.
Pools of size other that ChunkSize can only happen when we have a huge file (over 10k * ChunkSize).
We need to have a bunch of identically sized huge files.
In such case most likely ChunkSize should be increased.

The mapping and its lock is replaced with a single initialised pool for ChunkSize, in other cases pool is allocated and freed on per file basis.
2020-04-11 16:34:05 +01:00
..
2020-01-18 10:41:08 +00:00
2020-02-20 15:50:53 +01:00
2020-04-11 16:42:25 +02:00
2020-01-18 10:41:08 +00:00
2020-04-11 16:34:05 +01:00