Performance fixes for 9p filesystem
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest11 patches 28 repliesIn review
- v311 patches 7 repliesSuperseded
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | net/9p: Adjust maximum MSIZE to account for p9 headernet/ | +5 | 1 reply | |
| 2/11 | fs/9p: Expand setup of writeback cache to all levelsfs/ fs/ fs/ +2 more | +10 | 1 reply | |
| 3/11 | fs/9p: Consolidate file operations and add readahead and writebackfs/ fs/ fs/ +4 more | +98 | 5 replies | |
| 4/11 | fs/9p: Remove unnecessary superblock flagsfs/ | +1 | 3 replies | |
| 5/11 | fs/9p: allow disable of xattr support on mountDocumentation/ fs/ fs/ +1 more | +14 | 1 reply | |
| 6/11 | net/9p: fix bug in client create for .Lnet/ | +1 | 1 reply | |
| 7/11 | 9p: Add additional debug flags and open modesinclude/ | +5 | 2 replies | |
| 8/11 | fs/9p: Add new mount modesfs/ fs/ | +18 | 2 replies | |
| 9/11 | fs/9p: fix error reporting in v9fs_dir_releasefs/ | +4 | 1 reply | |
| 10/11 | fs/9p: writeback mode fixesDocumentation/ fs/ fs/ +6 more | +153 | 15 replies | |
| 11/11 | fs/9p: Fix revalidatefs/ | +1 | 1 reply |
Reviews trailers per patch
6 of 11 patches have a Reviewed-by or Acked-by.
| Patch | Dominique Martinet |
|---|---|
| 1/11 | R-b |
| 2/11 | R-b |
| 3/11 | R-b R-b |
| 4/11 | |
| 5/11 | R-b |
| 6/11 | R-b |
| 7/11 | |
| 8/11 | |
| 9/11 | R-b |
| 10/11 | |
| 11/11 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v4 00/11] Performance fixes for 9p filesystem
This is the fourth version of a patch series which adds a number of features to improve read/write performance in the 9p filesystem. Mostly it focuses on fixing caching to help utilize the recently increased MSIZE limits and also fixes some problematic behavior within the writeback code.
All together, these show roughly 10x speed increases on simple file transfers over no caching for readahead mode. Future patch sets will improve cache consistency and directory caching, which should benefit loose mode.
This iteration of the patch incorporates an important fix for writeback which uses a stronger mechanism to flush writeback on close of files and addresses observed bugs in previous versions of the patch for writeback, mmap, and loose cache modes.
These patches are also available on github:
https://github.com/v9fs/linux/tree/ericvh/for-next
and on kernel.org:
https://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs.git
Tested against qemu, cpu, and diod with fsx, dbench, and postmark in every caching mode.
I'm gonna definitely submit the first couple patches as they are fairly harmless - but would like to submit the whole series to the upcoming merge window. Would appreciate reviews.
Eric Van Hensbergen (11):
net/9p: Adjust maximum MSIZE to account for p9 header fs/9p: Expand setup of writeback cache to all levels fs/9p: Consolidate file operations and add readahead and writeback fs/9p: Remove unnecessary superblock flags
fs/9p: allow disable of xattr support on mount
net/9p: fix bug in client create for .L
9p: Add additional debug flags and open modes
fs/9p: Add new mount modes
fs/9p: fix error reporting in v9fs_dir_release
fs/9p: writeback mode fixes
fs/9p: Fix revalidate
Documentation/filesystems/9p.rst | 26 ++-- fs/9p/fid.c | 49 +++----- fs/9p/fid.h | 33 ++++- fs/9p/v9fs.c | 49 +++++--- fs/9p/v9fs.h | 10 +- fs/9p/v9fs_vfs.h | 4 - fs/9p/vfs_addr.c | 24 ++-- fs/9p/vfs_dentry.c | 3 +- fs/9p/vfs_dir.c | 10 +- fs/9p/vfs_file.c | 205 +++++++------------------------ fs/9p/vfs_inode.c | 102 +++++++-------- fs/9p/vfs_inode_dotl.c | 69 ++++++----- fs/9p/vfs_super.c | 28 +++-- include/net/9p/9p.h | 5 + net/9p/client.c | 8 +- 15 files changed, 284 insertions(+), 341 deletions(-)
--
2.37.2