radix tree test suite: Test radix_tree_replace_slot() for multiorder entries
authorMatthew Wilcox <mawilcox@microsoft.com>
Thu, 22 Sep 2016 18:53:34 +0000 (11:53 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 25 Sep 2016 18:49:16 +0000 (11:49 -0700)
commit62fd5258ebe3ea240371234955a6e2cc99e0b6c3
treec138367e16b619c13a21fdb562b541936d4a4136
parent9c0e28a7be656d737fb18998e2dcb0b8ce595643
radix tree test suite: Test radix_tree_replace_slot() for multiorder entries

When we replace a multiorder entry, check that all indices reflect the
new value.

Also, compile the test suite with -O2, which shows other problems with
the code due to some dodgy pointer operations in the radix tree code.

Signed-off-by: Matthew Wilcox <mawilcox@microsoft.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
tools/testing/radix-tree/Makefile
tools/testing/radix-tree/multiorder.c