Skip to content

netfs: Miscellaneous fixes

David Howells ceph-devel linux-cifs linux-fsdevel linux-nfs lkml netfs v9fs 1 version Applied

Status from this message: Applied to the vfs-6.16.netfs branch of the vfs/vfs.git tree.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4netfs: Fix oops in write-retry from mis-resetting the subreq iteratorfs/netfs/write_retry.c+3 -20 replies
2/4netfs: Fix setting of transferred bytes with short DIO readsfs/netfs/read_collect.c include/linux/netfs.h+6 -160 replies
3/4netfs: Fix the request's work item to not require a reffs/9p/vfs_addr.c fs/afs/write.c fs/cachefiles/io.c +23 more+159 -1620 replies
4/4netfs: Fix wait/wake to be consistent about the waitqueue usedfs/netfs/buffered_read.c fs/netfs/buffered_write.c fs/netfs/direct_read.c +8 more+284 -2240 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

Patch[email protected]
1/4T-b
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] netfs: Miscellaneous fixes

Hi Christian,

Here are some miscellaneous fixes and changes for netfslib, if you could pull them:

(1) Fix an oops in write-retry due to mis-resetting the I/O iterator.

(2) Fix the recording of transferred bytes for short DIO reads.

(3) Fix a request's work item to not require a reference, thereby avoiding the need to get rid of it in BH/IRQ context.

(4) Fix waiting and waking to be consistent about the waitqueue used.

The patches can also be found here:

https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/log/?h=netfs-fixes

Thanks,
David

David Howells (3):
netfs: Fix oops in write-retry from mis-resetting the subreq iterator
netfs: Fix the request's work item to not require a ref
netfs: Fix wait/wake to be consistent about the waitqueue used

Paulo Alcantara (1):
netfs: Fix setting of transferred bytes with short DIO reads

 fs/9p/vfs_addr.c             |   2 +-
 fs/afs/write.c               |   8 +-
 fs/cachefiles/io.c           |  16 +--
 fs/ceph/addr.c               |   2 +-
 fs/erofs/fscache.c           |   6 +-
 fs/netfs/buffered_read.c     |  32 +++--
 fs/netfs/buffered_write.c    |   2 +-
 fs/netfs/direct_read.c       |  10 +-
 fs/netfs/direct_write.c      |  12 +-
 fs/netfs/fscache_io.c        |  10 +-
 fs/netfs/internal.h          |  42 +++++--
 fs/netfs/misc.c              | 218 +++++++++++++++++++++++++++++++++++
 fs/netfs/objects.c           |  47 ++++----
 fs/netfs/read_collect.c      | 178 ++++------------------------
 fs/netfs/read_pgpriv2.c      |   4 +-
 fs/netfs/read_retry.c        |  26 +----
 fs/netfs/read_single.c       |   6 +-
 fs/netfs/write_collect.c     |  81 +++++--------
 fs/netfs/write_issue.c       |  38 +++---
 fs/netfs/write_retry.c       |  19 ++-
 fs/smb/client/cifsproto.h    |   3 +-
 fs/smb/client/cifssmb.c      |   4 +-
 fs/smb/client/file.c         |   7 +-
 fs/smb/client/smb2pdu.c      |   4 +-
 include/linux/fscache.h      |   2 +-
 include/linux/netfs.h        |  14 +--
 include/trace/events/netfs.h |   7 +-
 net/9p/client.c              |   6 +-
 28 files changed, 427 insertions(+), 379 deletions(-)