Skip to content

netfs, cachefiles, 9p: Additional patches

David Howells ceph-devel linux-cifs linux-erofs linux-fsdevel linux-mm linux-nfs lkml netdev v9fs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5cachefiles: Fix __cachefiles_prepare_write()fs/cachefiles/io.c+17 -113 replies
2/59p: Fix initialisation of netfs_inode for 9pfs/9p/v9fs_vfs.h fs/9p/vfs_inode.c fs/9p/vfs_inode_dotl.c+5 -30 replies
3/59p: Do a couple of cleanupsfs/9p/vfs_addr.c+9 -81 reply
4/59p: Always update remote_i_size in stat2inodefs/9p/vfs_inode_dotl.c+3 -31 reply
5/59p: Use length of data written to the server in preference to errorfs/9p/vfs_addr.c+3 -41 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchYiqun LengJia ZhuMarc DionneDominique MartinetSimon Horman
1/5T-b T-b R-b
2/5T-b T-b A-b
3/5A-b
4/5
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] netfs, cachefiles, 9p: Additional patches

Hi Christian, Jeff, Gao, Dominique,

Here are some additional patches for my netfs-lib tree:

(1) Fix __cachefiles_prepare_write() to correctly validate against the DIO alignment.

(2) 9p: Fix initialisation of the netfs_inode so that i_size is set before netfs_inode_init() is called.

(3) 9p: Do a couple of cleanups (remove a couple of unused vars and turn a BUG_ON() into a warning).

(4) 9p: Always update remote_i_size, even if we're asked not to update i_size in stat2inode.

(5) 9p: Return the amount written in preference to an error if we wrote something.

David

The netfslib postings:

David Howells (5):
cachefiles: Fix __cachefiles_prepare_write()
9p: Fix initialisation of netfs_inode for 9p
9p: Do a couple of cleanups
9p: Always update remote_i_size in stat2inode
9p: Use length of data written to the server in preference to error

 fs/9p/v9fs_vfs.h       |  1 +
 fs/9p/vfs_addr.c       | 24 ++++++++++++------------
 fs/9p/vfs_inode.c      |  6 +++---
 fs/9p/vfs_inode_dotl.c |  7 ++++---
 fs/cachefiles/io.c     | 28 +++++++++++++++++-----------
 5 files changed, 37 insertions(+), 29 deletions(-)