Re: [PATCH] Btrfs: fix extent state leak on failed nodatasum reads

2011-06-09 Thread Jan Schmidt
Hi Chris, On 04.05.2011 16:18, Jan Schmidt wrote: When encountering an EIO while reading from a nodatasum extent, we insert an error record into the inode's failure tree. btrfs_readpage_end_io_hook returns early for nodatasum inodes. We'd better clear the failure tree in that case, otherwise

Re: [PATCH] Btrfs: fix extent state leak on failed nodatasum reads

2011-06-09 Thread Chris Mason
Excerpts from Jan Schmidt's message of 2011-06-09 12:16:06 -0400: Hi Chris, On 04.05.2011 16:18, Jan Schmidt wrote: When encountering an EIO while reading from a nodatasum extent, we insert an error record into the inode's failure tree. btrfs_readpage_end_io_hook returns early for

[PATCH] Btrfs: fix extent state leak on failed nodatasum reads

2011-05-04 Thread Jan Schmidt
When encountering an EIO while reading from a nodatasum extent, we insert an error record into the inode's failure tree. btrfs_readpage_end_io_hook returns early for nodatasum inodes. We'd better clear the failure tree in that case, otherwise the kernel complains about BUG extent_state: