Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1716000 > unrolled thread

[Patch v2 11/19] CIFS: SMBD: Define memory registration for I/O data

Started byLong Li <longli@exchange.microsoft.com>
First post2017-08-20 21:10 +0200
Last post2017-08-20 21:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [Patch v2 11/19] CIFS: SMBD: Define memory registration for I/O data Long Li <longli@exchange.microsoft.com> - 2017-08-20 21:10 +0200

#1716000 — [Patch v2 11/19] CIFS: SMBD: Define memory registration for I/O data

FromLong Li <longli@exchange.microsoft.com>
Date2017-08-20 21:10 +0200
Subject[Patch v2 11/19] CIFS: SMBD: Define memory registration for I/O data
Message-ID<ugDLI-2xW-31@gated-at.bofh.it>
From: Long Li <longli@microsoft.com>

To prepare for RDMA read/write using memory registration, add memory registartion pointers to upper layer data I/O context.

Signed-off-by: Long Li <longli@microsoft.com>
---
 fs/cifs/cifsglob.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index dc5404d..dcd2b63 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -1166,6 +1166,7 @@ struct cifs_readdata {
 				struct cifs_readdata *rdata,
 				struct iov_iter *iter);
 	struct kvec			iov[2];
+	struct smbd_mr			*mr;
 	unsigned int			pagesz;
 	unsigned int			tailsz;
 	unsigned int			credits;
@@ -1188,6 +1189,7 @@ struct cifs_writedata {
 	pid_t				pid;
 	unsigned int			bytes;
 	int				result;
+	struct smbd_mr			*mr;
 	unsigned int			pagesz;
 	unsigned int			tailsz;
 	unsigned int			credits;
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web