[dm-devel] Re: [PATCH] 1/1: Device-Mapper: Remove 1024 devices limitation

Kevin Corry kevcorry at us.ibm.com
Mon Jul 12 14:49:03 UTC 2004

On Wednesday 07 July 2004 6:10 am, Andrew Morton wrote:
> Jim Houston <jim.houston at comcast.net> wrote:
> >
> > Hi Andrew,
> >
> > It's not quite right.  If you want to keep a count in the upper bits
> > you have to mask off that count before checking if the id is beyond the
> > end of the allocated space.
> OK, I'll fix that up.
> But I don't want to keep a count in the upper bits!  I want rid of that
> stuff altogether, completely, all of it.  It just keeps on hanging around
> :(
> We should remove MAX_ID_* from the kernel altogether.

Just following up on the proposed IDR changes. Based on the patches in the 
latest -mm tree, I'm assuming there is or will be a fix for IDR so it will 
always return NULL when asked to find an id that's not currently allocated. 
Is this correct? If so, I can drop the second "dm-use-idr" patch (from July 
6, 2004) and keep the one that's currently in -mm.


Kevin Corry
kevcorry at us.ibm.com

More information about the dm-devel mailing list