Re: [bisected commit 0fc9d10] NFS-server corruption with 3.4

From: Konstantin Khlebnikov
Date: Tue Jun 05 2012 - 12:39:18 EST


OGAWA Hirofumi wrote:
Konstantin Khlebnikov<khlebnikov@xxxxxxxxxx> writes:

Proper fix in attachment.

Maybe, you are going to add the stable tag for next stable?

Thanks.

Yes, this definitely must be in next stable 3.4.x , but first I'll wait for confirmation.

Guys, who can reproduce this, please check patch "radix-tree: fix contiguous iterator"
from my previous mail in this thread.


radix-tree: fix contiguous iterator

From: Konstantin Khlebnikov<khlebnikov@xxxxxxxxxx>

This patch fixes bug in macro radix_tree_for_each_contig().
If radix_tree_next_slot() sees NULL in next slot it returns NULL, but following
radix_tree_next_chunk() switches iterating into next chunk. As result iterating
becomes non-contiguous and breaks vfs "splice" and all its users.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/