1. 17 5月, 2012 1 次提交
  2. 04 5月, 2012 1 次提交
  3. 02 5月, 2012 2 次提交
  4. 25 4月, 2012 1 次提交
  5. 13 4月, 2012 1 次提交
  6. 12 4月, 2012 1 次提交
  7. 04 4月, 2012 2 次提交
  8. 28 3月, 2012 1 次提交
  9. 24 3月, 2012 6 次提交
  10. 22 3月, 2012 4 次提交
  11. 20 3月, 2012 1 次提交
  12. 08 2月, 2012 2 次提交
  13. 31 1月, 2012 1 次提交
    • R
      cifs: fix printk format warnings · 000f9bb8
      Randy Dunlap 提交于
      Fix printk format warnings for ssize_t variables:
      
      fs/cifs/connect.c:2145:3: warning: format '%ld' expects type 'long int', but argument 3 has type 'ssize_t'
      fs/cifs/connect.c:2152:3: warning: format '%ld' expects type 'long int', but argument 3 has type 'ssize_t'
      fs/cifs/connect.c:2160:3: warning: format '%ld' expects type 'long int', but argument 3 has type 'ssize_t'
      fs/cifs/connect.c:2170:3: warning: format '%ld' expects type 'long int', but argument 3 has type 'ssize_t'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Acked-by: NJeff Layton <jlayton@redhat.com>
      Cc:	linux-cifs@vger.kernel.org
      000f9bb8
  14. 25 1月, 2012 1 次提交
  15. 19 1月, 2012 1 次提交
  16. 18 1月, 2012 4 次提交
  17. 04 1月, 2012 3 次提交
  18. 09 12月, 2011 1 次提交
  19. 01 11月, 2011 1 次提交
    • P
      fs: add module.h to files that were implicitly using it · 143cb494
      Paul Gortmaker 提交于
      Some files were using the complete module.h infrastructure without
      actually including the header at all.  Fix them up in advance so
      once the implicit presence is removed, we won't get failures like this:
      
        CC [M]  fs/nfsd/nfssvc.o
      fs/nfsd/nfssvc.c: In function 'nfsd_create_serv':
      fs/nfsd/nfssvc.c:335: error: 'THIS_MODULE' undeclared (first use in this function)
      fs/nfsd/nfssvc.c:335: error: (Each undeclared identifier is reported only once
      fs/nfsd/nfssvc.c:335: error: for each function it appears in.)
      fs/nfsd/nfssvc.c: In function 'nfsd':
      fs/nfsd/nfssvc.c:555: error: implicit declaration of function 'module_put_and_exit'
      make[3]: *** [fs/nfsd/nfssvc.o] Error 1
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      143cb494
  20. 30 10月, 2011 1 次提交
  21. 20 10月, 2011 4 次提交
    • J
      cifs: tune bdi.ra_pages in accordance with the rsize · 66bfaadc
      Jeff Layton 提交于
      Tune bdi.ra_pages to be a multiple of the rsize. This prevents the VFS
      from asking for pages that require small reads to satisfy.
      Reviewed-and-Tested-by: NPavel Shilovsky <piastry@etersoft.ru>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      66bfaadc
    • J
      cifs: allow for larger rsize= options and change defaults · 5eba8ab3
      Jeff Layton 提交于
      Currently we cap the rsize at a value that fits in CIFSMaxBufSize. That's
      not needed any longer for readpages. Allow the use of larger values for
      readpages. cifs_iovec_read and cifs_read however are still limited to the
      CIFSMaxBufSize. Make sure they don't exceed that.
      
      The patch also changes the rsize defaults. The default when unix
      extensions are enabled is set to 1M for parity with the wsize, and there
      is a hard cap of ~16M.
      
      When unix extensions are not enabled, the default is set to 60k. According
      to MS-CIFS, Windows servers can only send a max of 60k at a time, so
      this is more efficient than requesting a larger size. If the user wishes
      however, the max can be extended up to 128k - the length of the READ_RSP
      header.
      
      Really old servers however require a special hack to ensure that we don't
      request too large a read.
      Reviewed-and-Tested-by: NPavel Shilovsky <piastry@etersoft.ru>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      5eba8ab3
    • J
      cifs: add cifs_async_readv · e28bc5b1
      Jeff Layton 提交于
      ...which will allow cifs to do an asynchronous read call to the server.
      The caller will allocate and set up cifs_readdata for each READ_AND_X
      call that should be issued on the wire. The pages passed in are added
      to the pagecache, but not placed on the LRU list yet (as we need the
      page->lru to keep the pages on the list in the readdata).
      
      When cifsd identifies the mid, it will see that there is a special
      receive handler for the call, and use that to receive the rest of the
      frame. cifs_readv_receive will then marshal up a kvec array with
      kmapped pages from the pagecache, which eliminates one copy of the
      data. Once the data is received, the pages are added to the LRU list,
      set uptodate, and unlocked.
      Reviewed-and-Tested-by: NPavel Shilovsky <piastry@etersoft.ru>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      e28bc5b1
    • J
      cifs: add a callback function to receive the rest of the frame · 44d22d84
      Jeff Layton 提交于
      In order to handle larger SMBs for readpages and other calls, we want
      to be able to read into a preallocated set of buffers. Rather than
      changing all of the existing code to preallocate buffers however, we
      instead add a receive callback function to the MID.
      
      cifsd will call this function once the mid_q_entry has been identified
      in order to receive the rest of the SMB. If the mid can't be identified
      or the receive pointer is unset, then the standard 3rd phase receive
      function will be called.
      Reviewed-and-Tested-by: NPavel Shilovsky <piastry@etersoft.ru>
      Signed-off-by: NJeff Layton <jlayton@redhat.com>
      44d22d84