]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/blkdev: use ID_MODEL + _ + ID_SERIAL_SHORT for device_id
authorJan Fajerski <jfajerski@suse.com>
Wed, 21 Nov 2018 12:14:25 +0000 (13:14 +0100)
committerJan Fajerski <jfajerski@suse.com>
Wed, 21 Nov 2018 12:53:39 +0000 (13:53 +0100)
commit46835c2c0679f99e57134f8c02edd43b0ff5c3a4
treee742be9fe0de1ff3b20902b6fcdc16f660d2f1b7
parent8fe92c3534d5deae811c9f4ee6a314c297f489f1
common/blkdev: use ID_MODEL + _ + ID_SERIAL_SHORT for device_id

This is hopefully more stable then using ID_SERIAL. While often
ID_SERIAL contains the model name and serial, in some cases it only
contains something close to the actual serial number.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/common/blkdev.cc