[PATCH v1 0/8] cifs: convert "strict" writes to be asynchronous

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



cifs_iovec_write currently sends writes serially. This patchset changes
it to send those writes in parallel instead, and to simply wait for the
replies before returning to userspace. With this, I see a performance
boost of roughly 20% or so when doing streaming writes without an
oplock.

I'd like to see this in linux-next very soon, and then eventually in
v3.4.

As a heads up, my goal here is to eventually convert cifs to use
strictcache by default since that's what the protocol really mandates.
Before we do that though, we need to convert uncached reads and writes
to be asynchronous when we don't have an oplock.

Jeff Layton (8):
  cifs: add pid field to cifs_writedata
  cifs: allow caller to specify completion op when allocating writedata
  cifs: rename pTcon to tcon in cifs_iovec_write
  cifs: fix allocation in cifs_write_allocate_pages
  cifs: make cifsFileInfo_get return the cifsFileInfo pointer
  cifs: fix up get_numpages
  cifs: abstract out function to marshal up the iovec array for async
    writes
  cifs: convert cifs_iovec_write to use async writes

 fs/cifs/cifsglob.h  |    4 +-
 fs/cifs/cifsproto.h |    9 ++-
 fs/cifs/cifssmb.c   |   29 +++---
 fs/cifs/file.c      |  239 +++++++++++++++++++++++++++++++++------------------
 4 files changed, 180 insertions(+), 101 deletions(-)

-- 
1.7.7.6

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux