On Wed, Mar 9, 2011 at 6:08 PM, Dushyant Bansal <cs5070...@cse.iitd.ac.in> wrote: > On Tuesday 08 March 2011 05:17 PM, Kevin Wolf wrote: >> + l2_entries = (cluster_size / sizeof(uint64_t)) >> + >> + l2_index = (offset / cluster_size) % l2_entries >> + l1_index = (offset / cluster_size) / l2_entries >> + >> + l2_table = load_cluster(l1_table[l1_index]); >> + cluster_offset = refcount_block[l2_index]; >> > > It should be cluster_offset = l2_table[l2_index]; > Right?
Good catch. Kevin, besides what Dushyant found it looks good. Stefan