[PATCH nvme-cli] huawei: filter out the partition disks

Chengjike (ISSP) chengjike.cheng at huawei.com
Mon Oct 18 00:06:24 PDT 2021


在 2021/10/18 13:30, Chaitanya Kulkarni 写道:
> On 10/14/21 02:11, chengjike wrote:
>> When using "nvme huawei list" command, if the current disk has partitions,
>> disk partitions will be displayed. This is not expected!
>> So filter out the disk partitions through disk name.
>>
>
> Is this specific to the Huawei or generic to all the vendors ?
>

This is a fix patch for huawei, and other vendors don't have this problem.

When the following patch is merged(when replace huawei_scan_dev_filter 
with scan_dev_filter,
the codes of partition filtering are deleted), it has this issue.
nvme-cli: Code reorg
commit: a3b3e93286a30852b7973a524b47ef35d42aa6cf





More information about the Linux-nvme mailing list