lkml.org 
[lkml]   [2004]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] 1/1: Device-Mapper: Remove 1024 devices limitation
    Kevin Corry <kevcorry@us.ibm.com> wrote:
    >
    > Remove the limitation of 1024 DM devices.

    That seems to be an awful lot of fuss just to maintain a bitmap.

    What is a realistic useful upper bound on the minors? Would it not be sufficient
    to increase the size of the statically allocated bitmap?

    Did you consider going to a different data structure altogether? lib/radix-tree.c and
    lib/idr.c provide appropriate ones.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.020 / U:0.180 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site