commit | 9bb2f334b9b5f2eb6030b7988b7f2302c3115bbb | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@inktank.com> | Thu Jul 12 10:46:35 2012 -0500 |
committer | Sage Weil <sage@inktank.com> | Mon Jul 30 09:30:00 2012 -0700 |
tree | 8e43a1a384101819c97d5ab9114c2bf748431463 | |
parent | ca1e49a6afe87ea4e2d3e73e10d1d3c0fad2aa3f [diff] |
rbd: create pool_id device attribute Add an entry under /sys/bus/rbd/devices/<N>/ named "pool_id" that provides the id for the pool the rbd image is assocatied with. This is in addition to the pool name already provided. Rename the "poolid" field in struct rbd_device to be "pool_id". Update the documentation to reflect the addition of this new entry. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>