dedupe: fix dedupe_percentage=100
authorJens Axboe <axboe@fb.com>
Mon, 27 Apr 2015 14:38:33 +0000 (08:38 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 27 Apr 2015 14:38:33 +0000 (08:38 -0600)
commit732eedd0666bbe555d97b04801998ea8c63e0236
tree2ade3713d574218d1c6574867606d874661d93cf
parent7c306bb1d27de928cba1b58d7888981d44416fd1
dedupe: fix dedupe_percentage=100

The corner case of 100% dedupable was buggy, save and restore random
state appropriate for that too.

Signed-off-by: Jens Axboe <axboe@fb.com>
io_u.c