• Linus Torvalds's avatar
    Merge tag 'io_uring-5.6-2020-02-05' of git://git.kernel.dk/linux-block · c1ef57a3
    Linus Torvalds authored
    Pull io_uring updates from Jens Axboe:
     "Some later fixes for io_uring:
    
       - Small cleanup series from Pavel
    
       - Belt and suspenders build time check of sqe size and layout
         (Stefan)
    
       - Addition of ->show_fdinfo() on request of Jann Horn, to aid in
         understanding mapped personalities
    
       - eventfd recursion/deadlock fix, for both io_uring and aio
    
       - Fixup for send/recv handling
    
       - Fixup for double deferral of read/write request
    
       - Fix for potential double completion event for close request
    
       - Adjust fadvise advice async/inline behavior
    
       - Fix for shutdown hang with SQPOLL thread
    
       - Fix for potential use-after-free of fixed file table"
    
    * tag 'io_uring-5.6-2020-02-05' of git://git.kernel.dk/linux-block:
      io_uring: cleanup fixed file data table references
      io_uring: spin for sq thread to idle on shutdown
      aio: prevent potential eventfd recursion on poll
      io_uring: put the flag changing code in the same spot
      io_uring: iterate req cache backwards
      io_uring: punt even fadvise() WILLNEED to async context
      io_uring: fix sporadic double CQE entry for close
      io_uring: remove extra ->file check
      io_uring: don't map read/write iovec potentially twice
      io_uring: use the proper helpers for io_send/recv
      io_uring: prevent potential eventfd recursion on poll
      eventfd: track eventfd_signal() recursion depth
      io_uring: add BUILD_BUG_ON() to assert the layout of struct io_uring_sqe
      io_uring: add ->show_fdinfo() for the io_uring file descriptor
    c1ef57a3
io_uring.c 166 KB