Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Chengjike (ISSP)" <chengjike.cheng@huawei.com>
To: Chaitanya Kulkarni <chaitanyak@nvidia.com>,
	"kbusch@kernel.org" <kbusch@kernel.org>,
	"linux-nvme@lists.infradead.org" <linux-nvme@lists.infradead.org>
Cc: "sunao.sun@huawei.com" <sunao.sun@huawei.com>,
	"jiangtao62@huawei.com" <jiangtao62@huawei.com>
Subject: Re: [PATCH nvme-cli] huawei: filter out the partition disks
Date: Mon, 18 Oct 2021 15:06:24 +0800	[thread overview]
Message-ID: <aa9042b5-d45b-ebd0-0209-e83ad79ed48e@huawei.com> (raw)
In-Reply-To: <19ce83c6-7ef6-d21d-9133-607a56c0d3d2@nvidia.com>


在 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




      reply	other threads:[~2021-10-18  7:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14  9:11 [PATCH nvme-cli] huawei: filter out the partition disks chengjike
2021-10-18  3:49 ` Chengjike (ISSP)
2021-10-18  5:30 ` Chaitanya Kulkarni
2021-10-18  7:06   ` Chengjike (ISSP) [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aa9042b5-d45b-ebd0-0209-e83ad79ed48e@huawei.com \
    --to=chengjike.cheng@huawei.com \
    --cc=chaitanyak@nvidia.com \
    --cc=jiangtao62@huawei.com \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sunao.sun@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox