On Tue, 25 Apr 2006, Qingning Huo wrote:

On Wed, Apr 12, 2006 at 10:07:45AM +0200, Yann Vernier wrote:
Package: rtorrent
Version: 0.4.5-1
Severity: normal

While downloading to a nearly full disc, rtorrent will assume writes
succeed and download much more than it could store. I don't know if this
also makes it send incorrect data.

Hi Yann,

Thanks for your bug report.  I am CC'ing the upstream author of rtorrent
because this seems to be a upstream problem.

Jari, what is your thinking of the bug report?

Sorry for the late reply, got distracted by other things.

Linux 2.4 used to send a SIGBUS when the client tried to write to a full disk. According to my cursory tests, on 2.6 it silently drops the pages when the disk is full and it is forced to page out the data.

This would be detectable if I was using blocking msync as it would return an error on full disk, non-blocking msync does not give any such error. To fix this a separate thread could run msync (and hashing) in a blocking manner.

Due to time constraints I haven't had time to fix this.

Rakshasa

Wheat on black, lightly sprinkled with subdued colors; the color of code.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to