Hi Steve, For your illumination, here's where I'm currently at with making cifs use netfslib more fully. I ended up delving into the realms of converting it to use iov_iter instead of page lists and doing partial foliation. It isn't complete yet and some of the patches don't compile, but if you want a look at what I've been doing... David --- David Howells (3): cifs: Use netfslib cifs: Reverse the way iov_iters are used in reading cifs: Eliminate pages list from cifs_readdata, cifs_writedata and smb_rqst fs/cifs/cifsencrypt.c | 40 +- fs/cifs/cifsfs.h | 3 + fs/cifs/cifsglob.h | 28 +- fs/cifs/cifsproto.h | 8 +- fs/cifs/cifssmb.c | 219 ++++++--- fs/cifs/file.c | 1041 +++++++++++++---------------------------- fs/cifs/misc.c | 109 ----- fs/cifs/smb2ops.c | 188 ++++---- fs/cifs/smb2pdu.c | 12 +- fs/cifs/transport.c | 41 +- include/linux/uio.h | 7 + lib/iov_iter.c | 136 ++++++ 12 files changed, 746 insertions(+), 1086 deletions(-) -- Linux-cachefs mailing list Linux-cachefs@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-cachefs