dedupe: improve 100% dedupe case
authorJens Axboe <axboe@fb.com>
Mon, 27 Apr 2015 15:37:11 +0000 (09:37 -0600)
committerJens Axboe <axboe@fb.com>
Mon, 27 Apr 2015 15:37:11 +0000 (09:37 -0600)
commit9451b93e81fb950a80da09e295e56b1ad4538509
tree7ed8794ff2d1f1d838812fd3f6ae96900638d6f2
parent732eedd0666bbe555d97b04801998ea8c63e0236
dedupe: improve 100% dedupe case

We don't need an on-stack state, just juggle the buf_state and
buf_state_prev appropriately.

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