• Linus Torvalds's avatar
    Merge tag 'nfs-for-6.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfs · 99d99825
    Linus Torvalds authored
    Pull NFS client updates from Anna Schumaker:
     "New Features:
       - Enable the NFS v4.2 READ_PLUS operation by default
    
      Stable Fixes:
       - NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
       - NFS: Fix a potential data corruption
    
      Bugfixes:
       - Fix various READ_PLUS issues including:
          - smatch warnings
          - xdr size calculations
          - scratch buffer handling
          - 32bit / highmem xdr page handling
       - Fix checkpatch errors in file.c
       - Fix redundant readdir request after an EOF
       - Fix handling of COPY ERR_OFFLOAD_NO_REQ
       - Fix assignment of xprtdata.cred
    
      Cleanups:
       - Remove unused xprtrdma function declarations
       - Clean up an integer overflow check to avoid a warning
       - Clean up #includes in dns_resolve.c
       - Clean up nfs4_get_device_info so we don't pass a NULL pointer
         to __free_page()
       - Clean up sunrpc TCP socket timeout configuration
       - Guard against READDIR loops when entry names are too long
       - Use EXCHID4_FLAG_USE_PNFS_DS for DS servers"
    
    * tag 'nfs-for-6.6-1' of git://git.linux-nfs.org/projects/anna/linux-nfs: (22 commits)
      pNFS: Fix assignment of xprtdata.cred
      NFSv4.2: fix handling of COPY ERR_OFFLOAD_NO_REQ
      NFS: Guard against READDIR loop when entry names exceed MAXNAMELEN
      NFSv4.1: use EXCHGID4_FLAG_USE_PNFS_DS for DS server
      NFS/pNFS: Set the connect timeout for the pNFS flexfiles driver
      SUNRPC: Don't override connect timeouts in rpc_clnt_add_xprt()
      SUNRPC: Allow specification of TCP client connect timeout at setup
      SUNRPC: Refactor and simplify connect timeout
      SUNRPC: Set the TCP_SYNCNT to match the socket timeout
      NFS: Fix a potential data corruption
      nfs: fix redundant readdir request after get eof
      nfs/blocklayout: Use the passed in gfp flags
      filemap: Fix errors in file.c
      NFSv4/pnfs: minor fix for cleanup path in nfs4_get_device_info
      NFS: Move common includes outside ifdef
      SUNRPC: clean up integer overflow check
      xprtrdma: Remove unused function declaration rpcrdma_bc_post_recv()
      NFS: Enable the READ_PLUS operation by default
      SUNRPC: kmap() the xdr pages during decode
      NFSv4.2: Rework scratch handling for READ_PLUS (again)
      ...
    99d99825
svc.c 42.7 KB