[Cluster-devel] [PATCH] idr: fix a subtle bug in idr_get_next()

Tejun Heo tj at kernel.org
Sat Feb 2 23:11:35 UTC 2013


On Sat, Feb 02, 2013 at 03:10:48PM -0800, Tejun Heo wrote:
> Fix it by ensuring proceeding to the next slot doesn't carry over the
> unaligned offset - ie. use round_up(id + 1, slot_distance) instead of
> id += slot_distance.
> 
> Signed-off-by: Tejun Heo <tj at kernel.org>
> Reported-by: David Teigland <teigland at redhat.com>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu at jp.fujitsu.com>

David, can you please test whether the patch makes the skipped
deletion bug go away?

Thanks!

-- 
tejun




More information about the Cluster-devel mailing list