targetcli for NVMe

/usr/lib/python2.7/dist-packages/rtslib/utils.py

    # These devices are disk type block devices, but might not report this
    # correctly in /sys/block/xxx/device/type, so use their major number.
    type_disk_known_majors = [1,    # RAM disk
....

                              251,  # LOCAL/EXPERIMENTAL USE
                              252,  # LOCAL/EXPERIMENTAL USE
                              253,  # LOCAL/EXPERIMENTAL USE
                              254,  # LOCAL/EXPERIMENTAL USE
                              259   # NVMe
                             ]

 

Leave a Reply