1. 15 Jul, 2002 34 commits
  2. 14 Jul, 2002 1 commit
  3. 15 Jul, 2002 1 commit
  4. 14 Jul, 2002 1 commit
  5. 15 Jul, 2002 1 commit
  6. 14 Jul, 2002 2 commits
    • Trond Myklebust's avatar
      [PATCH] 2.5.25 Clean up RPC receive code [part 2] · 4b1191c8
      Trond Myklebust authored
        After getting rid of rpc_lock_task() from net/sunrpc/xprt.c (see the
      previous patch), we can now remove it from the generic RPC queue
      handling code.
      4b1191c8
    • Trond Myklebust's avatar
      [PATCH] 2.5.25 Clean up RPC receive code · 1eedbd78
      Trond Myklebust authored
        Divorces task xid<->request slot mapping from the internals of the
      rpc_waitqueue xprt->pending. Instead xprt_lookup_rqst() is made to
      search a dedicated list (xprt->recv) on which the request slot is
      placed immediately after being allocated to a task. The new queue is
      protected using the spinlock xprt->sock_lock rather than the generic
      RPC task lock.
      
        Both udp_data_ready() and tcp_data_ready() (well tcp_read_request()
      actually) now need to protect against the request being removed from
      the xprt->recv list while they copy the RPC reply data from the skb.
      On the other hand, they no longer need to worry about the task
      disappearing from xprt->pending. This means that rpc_lock_task() hack
      can be replaced by the spinlock xprt->sock_lock.
      1eedbd78