}
int dirIndex = location.dir();
StorageDir dir = tier.getDir(dirIndex);
for (BlockMeta block : dir.getBlocks()) {
toEvict.add(block.getBlockId());
<BUG>spaceFreed += block.getBlockSize();

if (spaceFreed >= bytes) {
return Optional.of(new EvictionPlan(toMove, toEvict));</BUG>
}

}
}
}
