From: Markus Trippelsdorf Subject: Re: torrent hash failures since 3.9.0-rc1 Date: Mon, 11 Mar 2013 20:17:53 +0100 Message-ID: <20130311191753.GA439@x4> References: <20130311171824.GA434@x4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org Return-path: Content-Disposition: inline In-Reply-To: <20130311171824.GA434@x4> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On 2013.03.11 at 18:18 +0100, Markus Trippelsdorf wrote: > I get hash failures on "completed" torrents since 3.9.0-rc1 (Linux 3.8 > seems to be fine). What happens is that the torrents apparently complete > successfully. After reboot however the hash check fails and there are > missing (or corrupted) chunks. I've tested this with two different > clients (rtorrent and aria2c) and both are affected. So I think this > might be a filesystem issue. > > /dev/sda ext4 1.4T 666G 640G 51% /var > /dev/sda on /var type ext4 (rw,noatime,data=ordered) > > I use ECC memory (and there is nothing in the logs). To reproduce this issue just do the following: % wget http://torrents.linuxmint.com/torrents/linuxmint-12-gnome-cd-nocodecs-64bit.iso.torrent % rtorrent linuxmint-12-gnome-cd-nocodecs-64bit.iso.torrent (Wait until the torrent finishes) % sudo echo 3 > /proc/sys/vm/drop_caches (Rehash the torrent (Ctrl-R)) The torrent doesn't rehash successfully and a few hunks are missing/corrupted and need to be downloaded again. -- Markus