Fix a bug with multiple files in the same io_piece rbtree
authorJens Axboe <jaxboe@fusionio.com>
Mon, 21 Jun 2010 07:01:33 +0000 (09:01 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 21 Jun 2010 07:01:33 +0000 (09:01 +0200)
commit968b605460eb4912bdb0b7bc9ace79694865386f
treeab051de98b78bcb0c9c0e3f2b6d8de4d5a757f99
parentc604fb8eea323d8dbf948f238f61f12dadf821af
Fix a bug with multiple files in the same io_piece rbtree

Sort by file first, then sort by offset. This avoids false
positives on IO aliases, when it's really for a different file.

Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
log.c