pculture/miro — pull request #38 by geoffl (2011-10-17 14:26:59+00:00)
Title: bz18346: Change disk allocation policy for torrents.

Before we were using allocate policy (which may also be sparse). But it
may make pause immediately after starting a large torrent unusable, as
the close() of the torrent handle would wait for the file to zero-fill.
It can also make shutdown slow after starting big torrents as when you shut
down you shut down the torrents too and zero-filling large things takes
a lot of time.

We now use the compact mode which results in extra disk i/o and possibly
fragmentation but makes everything else usable again.