diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2021-10-27 11:45:11 -0700 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2021-10-27 11:45:18 -0700 |
| commit | c52d69e7dbaaed0ffdef8125e79218672c30161d (patch) | |
| tree | faf814a00e86fa51c9a8f374055bb3669c808442 /fsdev/9p-marshal.h | |
| parent | 5c49c6c241e524b6ba7768de07cab6f2056feb90 (diff) | |
| parent | 7e985780aaab93d2c5be9b62d8d386568dfb071e (diff) | |
| download | focaccia-qemu-c52d69e7dbaaed0ffdef8125e79218672c30161d.tar.gz focaccia-qemu-c52d69e7dbaaed0ffdef8125e79218672c30161d.zip | |
Merge remote-tracking branch 'remotes/cschoenebeck/tags/pull-9p-20211027' into staging
9pfs: performance fix and cleanup * First patch fixes suboptimal I/O performance on guest due to previously incorrect block size being transmitted to 9p client. * Subsequent patches are cleanup ones intended to reduce code complexity. * remotes/cschoenebeck/tags/pull-9p-20211027: 9pfs: use P9Array in v9fs_walk() 9pfs: make V9fsPath usable via P9Array API 9pfs: make V9fsString usable via P9Array API fsdev/p9array.h: check scalar type in P9ARRAY_NEW() 9pfs: introduce P9Array 9pfs: simplify blksize_to_iounit() 9pfs: deduplicate iounit code 9pfs: fix wrong I/O block size in Rgetattr Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'fsdev/9p-marshal.h')
| -rw-r--r-- | fsdev/9p-marshal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fsdev/9p-marshal.h b/fsdev/9p-marshal.h index ceaf2f521e..f1abbe151c 100644 --- a/fsdev/9p-marshal.h +++ b/fsdev/9p-marshal.h @@ -1,10 +1,13 @@ #ifndef QEMU_9P_MARSHAL_H #define QEMU_9P_MARSHAL_H +#include "p9array.h" + typedef struct V9fsString { uint16_t size; char *data; } V9fsString; +P9ARRAY_DECLARE_TYPE(V9fsString); typedef struct V9fsQID { uint8_t type; |