From 5edee3a2cf9af35a9f1585a62306318aa1005c62 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Thu, 20 Feb 2014 19:17:17 +0900 Subject: [PATCH] Don't bother adding 2 when picking an LPN for fill & trim --- prototype/corfurl/test/corfurl_pulse.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prototype/corfurl/test/corfurl_pulse.erl b/prototype/corfurl/test/corfurl_pulse.erl index 5dd2a2f..33b0308 100644 --- a/prototype/corfurl/test/corfurl_pulse.erl +++ b/prototype/corfurl/test/corfurl_pulse.erl @@ -676,7 +676,7 @@ scan_forward(#run{seq=Seq, proj=Proj}, SeedInt, NumPages) -> end). fill(#run{seq=Seq, proj=Proj}, SeedInt) -> - LPN = pick_an_LPN(Seq, SeedInt) + 2, + LPN = pick_an_LPN(Seq, SeedInt), ?LOG({fill, LPN}, begin Res = corfurl:fill_page(Proj, LPN), @@ -684,7 +684,7 @@ fill(#run{seq=Seq, proj=Proj}, SeedInt) -> end). trim(#run{seq=Seq, proj=Proj}, SeedInt) -> - LPN = pick_an_LPN(Seq, SeedInt) + 2, + LPN = pick_an_LPN(Seq, SeedInt), ?LOG({trim, LPN}, begin Res = corfurl:trim_page(Proj, LPN),