commit | 8c60d40d69fd834f67322bbcea06ef0adf9076e1 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Tue Jun 22 21:16:19 2021 +0800 |
committer | Bin Meng <bmeng.cn@gmail.com> | Wed Jun 23 17:21:14 2021 +0800 |
tree | f610019088021ccd4101a59dc24d6b4970b29241 | |
parent | 478f7fc6a04ae81af550b56b31f18af24cf3f262 [diff] |
nvme: Eliminate the offset of one during block dev creation At present there is an offset of one added during the creation of block device. This can be very confusing as we wanted to encode the namespace id in the block device name but namespae id cannot be zero. This changes to use the namespace id directly in the block device name, eliminating the offset of one effectively. Suggested-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>