aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorAlex Elder2012-01-29 13:57:44 -0600
committerAlex Elder2012-03-22 10:47:47 -0500
commitd184f6bfde1428ad4a690d49b28afc9ab4d57b35 (patch)
treefd3156df944edc90146143e5cea416d34c8fcd47 /block
parent499afd5b8e742792fda6bd7730c738ad83aecf6b (diff)
rbd: restore previous rbd id sequence behavior
It used to be that selecting a new unique identifier for an added rbd device required searching all existing ones to find the highest id is used. A recent change made that unnecessary, but made it so that id's used were monotonically non-decreasing. It's a bit more pleasant to have smaller rbd id's though, and this change makes ids get allocated as they were before--each new id is one more than the maximum currently in use. Signed-off-by: Alex Elder <elder@dreamhost.com> Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions