diff options
author | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-13 15:28:57 +0200 |
---|---|---|
committer | Ilya Dryomov <ilya.dryomov@inktank.com> | 2013-12-31 20:31:56 +0200 |
commit | f8a22fc238a449ff982bfb40e30c3f3c9c90a08a (patch) | |
tree | 040d38a199ab4ad0e9814a4826e58f0f2725c374 /Documentation/ABI | |
parent | e1b4d96dea61c3078775090e8b121f571aab8fda (diff) | |
download | linux-f8a22fc238a449ff982bfb40e30c3f3c9c90a08a.tar.gz linux-f8a22fc238a449ff982bfb40e30c3f3c9c90a08a.tar.bz2 linux-f8a22fc238a449ff982bfb40e30c3f3c9c90a08a.zip |
rbd: switch to ida for rbd id assignments
Currently rbd ids are allocated using an atomic variable that keeps
track of the highest id currently in use and each new id is simply one
more than the value of that variable. That's nice and cheap, but it
does mean that rbd ids are allowed to grow boundlessly, and, more
importantly, it's completely unpredictable. So, in preparation for
single-major device number allocation scheme, which is going to
establish and rely on a constant mapping between rbd ids and device
numbers, switch to ida for rbd id assignments.
Signed-off-by: Ilya Dryomov <ilya.dryomov@inktank.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions