1. 28 May, 2020 4 commits
  2. 21 May, 2020 1 commit
    • J. Bruce Fields's avatar
      Merge branch 'nfsd-5.8' of git://linux-nfs.org/~cel/cel-2.6 into for-5.8-incoming · 6670ee2e
      J. Bruce Fields authored
      Highlights of this series:
      * Remove serialization of sending RPC/RDMA Replies
      * Convert the TCP socket send path to use xdr_buf::bvecs (pre-requisite for
      RPC-on-TLS)
      * Fix svcrdma backchannel sendto return code
      * Convert a number of dprintk call sites to use tracepoints
      * Fix the "suggest braces around empty body in an 'else' statement" warning
      6670ee2e
  3. 20 May, 2020 12 commits
    • Chuck Lever's avatar
      NFSD: Fix improperly-formatted Doxygen comments · f2453978
      Chuck Lever authored
      fs/nfsd/nfsctl.c:256: warning: Function parameter or member 'file' not described in 'write_unlock_ip'
      fs/nfsd/nfsctl.c:256: warning: Function parameter or member 'buf' not described in 'write_unlock_ip'
      fs/nfsd/nfsctl.c:256: warning: Function parameter or member 'size' not described in 'write_unlock_ip'
      fs/nfsd/nfsctl.c:295: warning: Function parameter or member 'file' not described in 'write_unlock_fs'
      fs/nfsd/nfsctl.c:295: warning: Function parameter or member 'buf' not described in 'write_unlock_fs'
      fs/nfsd/nfsctl.c:295: warning: Function parameter or member 'size' not described in 'write_unlock_fs'
      fs/nfsd/nfsctl.c:352: warning: Function parameter or member 'file' not described in 'write_filehandle'
      fs/nfsd/nfsctl.c:352: warning: Function parameter or member 'buf' not described in 'write_filehandle'
      fs/nfsd/nfsctl.c:352: warning: Function parameter or member 'size' not described in 'write_filehandle'
      fs/nfsd/nfsctl.c:434: warning: Function parameter or member 'file' not described in 'write_threads'
      fs/nfsd/nfsctl.c:434: warning: Function parameter or member 'buf' not described in 'write_threads'
      fs/nfsd/nfsctl.c:434: warning: Function parameter or member 'size' not described in 'write_threads'
      fs/nfsd/nfsctl.c:478: warning: Function parameter or member 'file' not described in 'write_pool_threads'
      fs/nfsd/nfsctl.c:478: warning: Function parameter or member 'buf' not described in 'write_pool_threads'
      fs/nfsd/nfsctl.c:478: warning: Function parameter or member 'size' not described in 'write_pool_threads'
      fs/nfsd/nfsctl.c:697: warning: Function parameter or member 'file' not described in 'write_versions'
      fs/nfsd/nfsctl.c:697: warning: Function parameter or member 'buf' not described in 'write_versions'
      fs/nfsd/nfsctl.c:697: warning: Function parameter or member 'size' not described in 'write_versions'
      fs/nfsd/nfsctl.c:858: warning: Function parameter or member 'file' not described in 'write_ports'
      fs/nfsd/nfsctl.c:858: warning: Function parameter or member 'buf' not described in 'write_ports'
      fs/nfsd/nfsctl.c:858: warning: Function parameter or member 'size' not described in 'write_ports'
      fs/nfsd/nfsctl.c:892: warning: Function parameter or member 'file' not described in 'write_maxblksize'
      fs/nfsd/nfsctl.c:892: warning: Function parameter or member 'buf' not described in 'write_maxblksize'
      fs/nfsd/nfsctl.c:892: warning: Function parameter or member 'size' not described in 'write_maxblksize'
      fs/nfsd/nfsctl.c:941: warning: Function parameter or member 'file' not described in 'write_maxconn'
      fs/nfsd/nfsctl.c:941: warning: Function parameter or member 'buf' not described in 'write_maxconn'
      fs/nfsd/nfsctl.c:941: warning: Function parameter or member 'size' not described in 'write_maxconn'
      fs/nfsd/nfsctl.c:1023: warning: Function parameter or member 'file' not described in 'write_leasetime'
      fs/nfsd/nfsctl.c:1023: warning: Function parameter or member 'buf' not described in 'write_leasetime'
      fs/nfsd/nfsctl.c:1023: warning: Function parameter or member 'size' not described in 'write_leasetime'
      fs/nfsd/nfsctl.c:1039: warning: Function parameter or member 'file' not described in 'write_gracetime'
      fs/nfsd/nfsctl.c:1039: warning: Function parameter or member 'buf' not described in 'write_gracetime'
      fs/nfsd/nfsctl.c:1039: warning: Function parameter or member 'size' not described in 'write_gracetime'
      fs/nfsd/nfsctl.c:1094: warning: Function parameter or member 'file' not described in 'write_recoverydir'
      fs/nfsd/nfsctl.c:1094: warning: Function parameter or member 'buf' not described in 'write_recoverydir'
      fs/nfsd/nfsctl.c:1094: warning: Function parameter or member 'size' not described in 'write_recoverydir'
      fs/nfsd/nfsctl.c:1125: warning: Function parameter or member 'file' not described in 'write_v4_end_grace'
      fs/nfsd/nfsctl.c:1125: warning: Function parameter or member 'buf' not described in 'write_v4_end_grace'
      fs/nfsd/nfsctl.c:1125: warning: Function parameter or member 'size' not described in 'write_v4_end_grace'
      
      fs/nfsd/nfs4proc.c:1164: warning: Function parameter or member 'nss' not described in 'nfsd4_interssc_connect'
      fs/nfsd/nfs4proc.c:1164: warning: Function parameter or member 'rqstp' not described in 'nfsd4_interssc_connect'
      fs/nfsd/nfs4proc.c:1164: warning: Function parameter or member 'mount' not described in 'nfsd4_interssc_connect'
      fs/nfsd/nfs4proc.c:1262: warning: Function parameter or member 'rqstp' not described in 'nfsd4_setup_inter_ssc'
      fs/nfsd/nfs4proc.c:1262: warning: Function parameter or member 'cstate' not described in 'nfsd4_setup_inter_ssc'
      fs/nfsd/nfs4proc.c:1262: warning: Function parameter or member 'copy' not described in 'nfsd4_setup_inter_ssc'
      fs/nfsd/nfs4proc.c:1262: warning: Function parameter or member 'mount' not described in 'nfsd4_setup_inter_ssc'
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      f2453978
    • Chuck Lever's avatar
      NFSD: Squash an annoying compiler warning · 45f56da8
      Chuck Lever authored
      Clean up: Fix gcc empty-body warning when -Wextra is used.
      
      ../fs/nfsd/nfs4state.c:3898:3: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      45f56da8
    • Chuck Lever's avatar
      SUNRPC: Clean up request deferral tracepoints · 8954c5c2
      Chuck Lever authored
      - Rename these so they are easy to enable and search for as a set
      - Move the tracepoints to get a more accurate sense of control flow
      - Tracepoints should not fire on xprt shutdown
      - Display memory address in case data structure had been corrupted
      - Abandon dprintk in these paths
      
      I haven't ever gotten one of these tracepoints to trigger. I wonder
      if we should simply remove them.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      8954c5c2
    • Chuck Lever's avatar
      1eace0d1
    • Chuck Lever's avatar
      NFSD: Add tracepoints to the NFSD state management code · dd5e3fbc
      Chuck Lever authored
      Capture obvious events and replace dprintk() call sites. Introduce
      infrastructure so that adding more tracepoints in this code later
      is simplified.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      dd5e3fbc
    • Chuck Lever's avatar
      NFSD: Add tracepoints to NFSD's duplicate reply cache · 0b175b18
      Chuck Lever authored
      Try to capture DRC failures.
      
      Two additional clean-ups:
      - Introduce Doxygen-style comments for the main entry points
      - Remove a dprintk that fires for an allocation failure. This was
        the only dprintk in the REPCACHE class.
      Reported-by: default avatarkbuild test robot <lkp@intel.com>
      [ cel: force typecast for display of checksum values ]
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      0b175b18
    • Chuck Lever's avatar
      SUNRPC: svc_show_status() macro should have enum definitions · d88ff958
      Chuck Lever authored
      Clean up: Add missing TRACE_DEFINE_ENUMs in
      include/trace/events/sunrpc.h
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      d88ff958
    • Chuck Lever's avatar
      SUNRPC: Restructure svc_udp_recvfrom() · fff1ebb2
      Chuck Lever authored
      Clean up. At this point, we are not ready yet to support bio_vecs in
      the UDP transport implementation. However, we can clean up
      svc_udp_recvfrom() to match the tracing and straight-lining recently
      changes made in svc_tcp_recvfrom().
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      fff1ebb2
    • Chuck Lever's avatar
      SUNRPC: Refactor svc_recvfrom() · ca07eda3
      Chuck Lever authored
      This function is not currently "generic" so remove the documenting
      comment and rename it appropriately. Its internals are converted to
      use bio_vecs for reading from the transport socket.
      
      In existing typical sunrpc uses of bio_vecs, the bio_vec array is
      allocated dynamically. Here, instead, an array of bio_vecs is added
      to svc_rqst. The lifetime of this array can be greater than one call
      to xpo_recvfrom():
      
      - Multiple calls to xpo_recvfrom() might be needed to read an RPC
        message completely.
      
      - At some later point, rq_arg.bvecs will point to this array and it
        will carry the received message into svc_process().
      
      I also expect that a future optimization will remove either the
      rq_vec or rq_pages array in favor of rq_bvec, thus conserving the
      size of struct svc_rqst.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      ca07eda3
    • Chuck Lever's avatar
      SUNRPC: Clean up svc_release_skb() functions · cca557a5
      Chuck Lever authored
      Rename these functions using the convention used for other xpo
      method entry points.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      cca557a5
    • Chuck Lever's avatar
      SUNRPC: Refactor recvfrom path dealing with incomplete TCP receives · 6be8c594
      Chuck Lever authored
      Clean up: move exception processing out of the main path.
      Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
      6be8c594
    • Chuck Lever's avatar
  4. 18 May, 2020 20 commits
  5. 17 May, 2020 3 commits
    • Linus Torvalds's avatar
      Linux 5.7-rc6 · b9bbe6ed
      Linus Torvalds authored
      b9bbe6ed
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.7-2' of git://github.com/cminyard/linux-ipmi · 8feea623
      Linus Torvalds authored
      Pull IPMI update from Corey Minyard:
       "Convert i2c_new_device() to i2c_new_client_device()
      
        Wolfram Sang has asked to have this included in 5.7 so the deprecated
        API can be removed next release. There should be no functional
        difference.
      
        I think that entire this section of code can be removed; it is
        leftover from other things that have since changed, but this is the
        safer thing to do for now. The full removal can happen next release"
      
      * tag 'for-linus-5.7-2' of git://github.com/cminyard/linux-ipmi:
        char: ipmi: convert to use i2c_new_client_device()
      8feea623
    • Linus Torvalds's avatar
      Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux · 9b1f2cbd
      Linus Torvalds authored
      Pull clk fixes from Stephen Boyd:
       "Some more clk driver fixes and one core framework fix:
      
         - A handful of TI driver fixes for bad of_node_put() and incorrect
           parent names
      
         - Rockchip rk3228 aclk_gpu* creation was interfering with lima GPU
           work so we use a composite clk now
      
         - Resuming from suspend on Tegra Jetson TK1 was broken because an
           audio PLL calculated an incorrect rate
      
         - A fix for devicetree probing on IM-PD1 by actually specifying a clk
           name which is required to pass clk registration
      
         - Avoid list corruption if registration fails for a critical clk"
      
      * tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
        clk: ti: clkctrl: convert subclocks to use proper names also
        clk: ti: am33xx: fix RTC clock parent
        clk: ti: clkctrl: Fix Bad of_node_put within clkctrl_get_name
        clk: tegra: Fix initial rate for pll_a on Tegra124
        clk: impd1: Look up clock-output-names
        clk: Unlink clock if failed to prepare or enable
        clk: rockchip: fix incorrect configuration of rk3228 aclk_gpu* clocks
      9b1f2cbd