Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Reinecke <hare@suse.de>
To: Nilay Shroff <nilay@linux.ibm.com>, linux-nvme@lists.infradead.org
Cc: hch@lst.de, kbusch@kernel.org, sagi@grimberg.me,
	jmeneghi@redhat.com, axboe@kernel.dk, martin.petersen@oracle.com,
	gjoyce@ibm.com
Subject: Re: [RFC PATCHv3 3/3] nvme: rename nvme_mpath_shutdown_disk to nvme_mpath_remove_disk
Date: Mon, 5 May 2025 08:39:45 +0200	[thread overview]
Message-ID: <11068aa2-8473-4bab-b24c-d6f663d3b1ef@suse.de> (raw)
In-Reply-To: <20250504175051.2208162-4-nilay@linux.ibm.com>

On 5/4/25 19:50, Nilay Shroff wrote:
> In the NVMe context, the term "shutdown" has a specific technical
> meaning. To avoid confusion, this commit renames the nvme_mpath_
> shutdown_disk function to nvme_mpath_remove_disk to better reflect
> its purpose (i.e. removing the disk from the system). However,
> nvme_mpath_remove_disk was already in use, and its functionality
> is related to releasing or putting the head node disk. To resolve
> this naming conflict and improve clarity, the existing nvme_mpath_
> remove_disk function is also renamed to nvme_mpath_put_disk.
> 
> This renaming improves code readability and better aligns function
> names with their actual roles.
> 
> Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
> Reviewed-by: Christoph Hellwig <hch@lst.de>
> Signed-off-by: Nilay Shroff <nilay@linux.ibm.com>
> ---
>   drivers/nvme/host/core.c      |  4 ++--
>   drivers/nvme/host/multipath.c | 16 ++++++++--------
>   drivers/nvme/host/nvme.h      |  8 ++++----
>   3 files changed, 14 insertions(+), 14 deletions(-)
> 
Reviewed-by: Hannes Reinecke <hare@suse.de>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke                  Kernel Storage Architect
hare@suse.de                                +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich


      reply	other threads:[~2025-05-05  6:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-04 17:50 [RFC PATCHv3 0/3] improve NVMe multipath handling Nilay Shroff
2025-05-04 17:50 ` [RFC PATCHv3 1/3] nvme-multipath: introduce delayed removal of the multipath head node Nilay Shroff
2025-05-05  6:39   ` Hannes Reinecke
2025-05-06  8:28     ` Nilay Shroff
2025-05-07  6:50     ` Christoph Hellwig
2025-05-07 19:56       ` Nilay Shroff
2025-05-08  5:33         ` Christoph Hellwig
2025-05-08 15:11           ` Nilay Shroff
2025-05-04 17:50 ` [RFC PATCHv3 2/3] nvme: introduce multipath_always_on module param Nilay Shroff
2025-05-05  6:24   ` Hannes Reinecke
2025-05-07  6:51   ` Christoph Hellwig
2025-05-04 17:50 ` [RFC PATCHv3 3/3] nvme: rename nvme_mpath_shutdown_disk to nvme_mpath_remove_disk Nilay Shroff
2025-05-05  6:39   ` Hannes Reinecke [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=11068aa2-8473-4bab-b24c-d6f663d3b1ef@suse.de \
    --to=hare@suse.de \
    --cc=axboe@kernel.dk \
    --cc=gjoyce@ibm.com \
    --cc=hch@lst.de \
    --cc=jmeneghi@redhat.com \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=martin.petersen@oracle.com \
    --cc=nilay@linux.ibm.com \
    --cc=sagi@grimberg.me \
    /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