• Linus Torvalds's avatar
    Merge tag 'for-6.9/io_uring-20240310' of git://git.kernel.dk/linux · d2c84bdc
    Linus Torvalds authored
    Pull io_uring updates from Jens Axboe:
    
     - Make running of task_work internal loops more fair, and unify how the
       different methods deal with them (me)
    
     - Support for per-ring NAPI. The two minor networking patches are in a
       shared branch with netdev (Stefan)
    
     - Add support for truncate (Tony)
    
     - Export SQPOLL utilization stats (Xiaobing)
    
     - Multishot fixes (Pavel)
    
     - Fix for a race in manipulating the request flags via poll (Pavel)
    
     - Cleanup the multishot checking by making it generic, moving it out of
       opcode handlers (Pavel)
    
     - Various tweaks and cleanups (me, Kunwu, Alexander)
    
    * tag 'for-6.9/io_uring-20240310' of git://git.kernel.dk/linux: (53 commits)
      io_uring: Fix sqpoll utilization check racing with dying sqpoll
      io_uring/net: dedup io_recv_finish req completion
      io_uring: refactor DEFER_TASKRUN multishot checks
      io_uring: fix mshot io-wq checks
      io_uring/net: add io_req_msg_cleanup() helper
      io_uring/net: simplify msghd->msg_inq checking
      io_uring/kbuf: rename REQ_F_PARTIAL_IO to REQ_F_BL_NO_RECYCLE
      io_uring/net: remove dependency on REQ_F_PARTIAL_IO for sr->done_io
      io_uring/net: correctly handle multishot recvmsg retry setup
      io_uring/net: clear REQ_F_BL_EMPTY in the multishot retry handler
      io_uring: fix io_queue_proc modifying req->flags
      io_uring: fix mshot read defer taskrun cqe posting
      io_uring/net: fix overflow check in io_recvmsg_mshot_prep()
      io_uring/net: correct the type of variable
      io_uring/sqpoll: statistics of the true utilization of sq threads
      io_uring/net: move recv/recvmsg flags out of retry loop
      io_uring/kbuf: flag request if buffer pool is empty after buffer pick
      io_uring/net: improve the usercopy for sendmsg/recvmsg
      io_uring/net: move receive multishot out of the generic msghdr path
      io_uring/net: unify how recvmsg and sendmsg copy in the msghdr
      ...
    d2c84bdc
net.c 39.4 KB