• Linus Torvalds's avatar
    Merge tag 'io_uring-6.3-2023-03-03' of git://git.kernel.dk/linux · 53ae7e11
    Linus Torvalds authored
    Pull more io_uring updates from Jens Axboe:
     "Here's a set of fixes/changes that didn't make the first cut, either
      because they got queued before I sent the early merge request, or
      fixes that came in afterwards. In detail:
    
       - Don't set MSG_NOSIGNAL on recv/recvmsg opcodes, as AF_PACKET will
         error out (David)
    
       - Fix for spurious poll wakeups (me)
    
       - Fix for a file leak for buffered reads in certain conditions
         (Joseph)
    
       - Don't allow registered buffers of mixed types (Pavel)
    
       - Improve handling of huge pages for registered buffers (Pavel)
    
       - Provided buffer ring size calculation fix (Wojciech)
    
       - Minor cleanups (me)"
    
    * tag 'io_uring-6.3-2023-03-03' of git://git.kernel.dk/linux:
      io_uring/poll: don't pass in wake func to io_init_poll_iocb()
      io_uring: fix fget leak when fs don't support nowait buffered read
      io_uring/poll: allow some retries for poll triggering spuriously
      io_uring: remove MSG_NOSIGNAL from recvmsg
      io_uring/rsrc: always initialize 'folio' to NULL
      io_uring/rsrc: optimise registered huge pages
      io_uring/rsrc: optimise single entry advance
      io_uring/rsrc: disallow multi-source reg buffers
      io_uring: remove unused wq_list_merge
      io_uring: fix size calculation when registering buf ring
      io_uring/rsrc: fix a comment in io_import_fixed()
      io_uring: rename 'in_idle' to 'in_cancel'
      io_uring: consolidate the put_ref-and-return section of adding work
    53ae7e11
io_uring.c 114 KB