Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] nvme: remove sgs and sws
       [not found] <CGME20240524104156epcas5p1ed1d8c342a08a48958757bb00e44cb5f@epcas5p1.samsung.com>
@ 2024-05-24 10:34 ` Kanchan Joshi
  2024-05-24 16:02   ` Keith Busch
  0 siblings, 1 reply; 2+ messages in thread
From: Kanchan Joshi @ 2024-05-24 10:34 UTC (permalink / raw)
  To: kbusch, hch, axboe; +Cc: linux-nvme, Kanchan Joshi, Sagi Grimberg

sgs/sws are unused, so remove these from nvme_ns_head structure.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
---
changes since v1:
- kill the other cleanup patch
https://lore.kernel.org/linux-nvme/20240502063438.422046-3-joshi.k@samsung.com/

 drivers/nvme/host/nvme.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index cacc56f4bbf4..a51f7c0dcf33 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -471,8 +471,6 @@ struct nvme_ns_head {
 	u8			pi_type;
 	u8			pi_offset;
 	u8			guard_type;
-	u16			sgs;
-	u32			sws;
 #ifdef CONFIG_BLK_DEV_ZONED
 	u64			zsze;
 #endif
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] nvme: remove sgs and sws
  2024-05-24 10:34 ` [PATCH v2] nvme: remove sgs and sws Kanchan Joshi
@ 2024-05-24 16:02   ` Keith Busch
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Busch @ 2024-05-24 16:02 UTC (permalink / raw)
  To: Kanchan Joshi; +Cc: hch, axboe, linux-nvme, Sagi Grimberg

On Fri, May 24, 2024 at 04:04:48PM +0530, Kanchan Joshi wrote:
> sgs/sws are unused, so remove these from nvme_ns_head structure.
> 
> Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
> Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
> Reviewed-by: Christoph Hellwig <hch@lst.de>

Thanks, applied to nvme-6.10.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-24 16:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CGME20240524104156epcas5p1ed1d8c342a08a48958757bb00e44cb5f@epcas5p1.samsung.com>
2024-05-24 10:34 ` [PATCH v2] nvme: remove sgs and sws Kanchan Joshi
2024-05-24 16:02   ` Keith Busch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox