From 00c4be5d113d909a843ab5c8e7ce408a184b7c32 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Tue, 5 Oct 2010 16:22:37 +0000 Subject: [PATCH] disable sequential handles in buferHash (for now) --- src/stasis/bufferManager/bufferHash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stasis/bufferManager/bufferHash.c b/src/stasis/bufferManager/bufferHash.c index 02922c8..32e2331 100644 --- a/src/stasis/bufferManager/bufferHash.c +++ b/src/stasis/bufferManager/bufferHash.c @@ -308,7 +308,7 @@ static Page * bhLoadPageImpl_helper(stasis_buffer_manager_t* bm, stasis_buffer_m // try to read this page from disk. pthread_mutex_unlock(&bh->mut); - stasis_page_handle_t * h = handle ? (stasis_page_handle_t*)handle : bh->page_handle; + stasis_page_handle_t * h = bh->page_handle; // handle ? (stasis_page_handle_t*)handle : bh->page_handle; h->read(h, ret, type);