From mboxrd@z Thu Jan 1 00:00:00 1970 From: cwillu Subject: Re: Kernel 2.6.36 btrfs csum bugreport Date: Sun, 31 Oct 2010 16:15:29 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linux-btrfs@vger.kernel.org To: unlisted-recipients:; (no To-header on input) Return-path: In-Reply-To: List-ID: > Today while playing around with btrfs I uncovered what must be a bug in the btrfs checksum code. My kernel log received a couple of these messages with various ino and off numbers: > > btrfs csum failed ino 5098 off 524288 csum 2981133980 private 959545494 > [..] > > This happens on reading from the btrfs filesystem. > > The funny thing is that the files are read correct, as verified by md5sum. I have cross-checked this on another machine (with same kernel and btrfs utils): same result. A full filesystem md5sum check showed no errors. The md5sums obviously were computed before the data was copied to the btrfs. > > So I conclude that these messages are faulty because data is read correctly. In addition, when you have more than one btrfs you cannot see from the message which fs it is refering to. Is this a raid1 or a dup array?