fs/9p: Update zero-copy implementation in 9p
[deliverable/linux.git] / include / net / 9p / 9p.h
index a6326ef8ade6ccfbf19b615167f9863bc941d663..d83a013008717faa8c73b8eda856ae1ba7c0065e 100644 (file)
@@ -359,6 +359,9 @@ enum p9_qid_t {
 /* Room for readdir header */
 #define P9_READDIRHDRSZ        24
 
+/* size of header for zero copy read/write */
+#define P9_ZC_HDR_SZ 4096
+
 /**
  * struct p9_qid - file system entity information
  * @type: 8-bit type &p9_qid_t
@@ -555,10 +558,6 @@ struct p9_rstatfs {
  * @tag: transaction id of the request
  * @offset: used by marshalling routines to track current position in buffer
  * @capacity: used by marshalling routines to track total malloc'd capacity
- * @pubuf: Payload user buffer given by the caller
- * @pkbuf: Payload kernel buffer given by the caller
- * @pbuf_size: pubuf/pkbuf(only one will be !NULL) size to be read/write.
- * @private: For transport layer's use.
  * @sdata: payload
  *
  * &p9_fcall represents the structure for all 9P RPC
@@ -575,10 +574,6 @@ struct p9_fcall {
 
        size_t offset;
        size_t capacity;
-       char __user *pubuf;
-       char *pkbuf;
-       size_t pbuf_size;
-       void *private;
 
        u8 *sdata;
 };
This page took 0.025709 seconds and 5 git commands to generate.