Thread (22 messages) 22 messages, 2 authors, 2021-02-03

Re: [PATCH 04/10] nvmet: remove nsid param from nvmet_find_namespace()

From: Christoph Hellwig <hch@lst.de>
Date: 2021-02-01 17:28:17

On Sun, Jan 31, 2021 at 09:41:32PM -0800, Chaitanya Kulkarni wrote:
The nvmet_find_namespace() takes nsid parameter which is from NVMe
commands structures such as get_log_page, identify, rw and common. All
these commands have same offset for the nsid field.

Derive nsid from req (req->cmd->common.nsid) and remove the extra
parameter from the nvmet_find_namespace().
I'd merge this into the previous one as that totally changes the
calling conventions anyway.  Otherwise this looks good to me.

_______________________________________________
Linux-nvme mailing list
Linux-nvme@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-nvme
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help