• Linus Torvalds's avatar
    Merge tag 'io_uring-5.10-2020-10-12' of git://git.kernel.dk/linux-block · 6ad4bf6e
    Linus Torvalds authored
    Pull io_uring updates from Jens Axboe:
    
     - Add blkcg accounting for io-wq offload (Dennis)
    
     - A use-after-free fix for io-wq (Hillf)
    
     - Cancelation fixes and improvements
    
     - Use proper files_struct references for offload
    
     - Cleanup of io_uring_get_socket() since that can now go into our own
       header
    
     - SQPOLL fixes and cleanups, and support for sharing the thread
    
     - Improvement to how page accounting is done for registered buffers and
       huge pages, accounting the real pinned state
    
     - Series cleaning up the xarray code (Willy)
    
     - Various cleanups, refactoring, and improvements (Pavel)
    
     - Use raw spinlock for io-wq (Sebastian)
    
     - Add support for ring restrictions (Stefano)
    
    * tag 'io_uring-5.10-2020-10-12' of git://git.kernel.dk/linux-block: (62 commits)
      io_uring: keep a pointer ref_node in file_data
      io_uring: refactor *files_register()'s error paths
      io_uring: clean file_data access in files_register
      io_uring: don't delay io_init_req() error check
      io_uring: clean leftovers after splitting issue
      io_uring: remove timeout.list after hrtimer cancel
      io_uring: use a separate struct for timeout_remove
      io_uring: improve submit_state.ios_left accounting
      io_uring: simplify io_file_get()
      io_uring: kill extra check in fixed io_file_get()
      io_uring: clean up ->files grabbing
      io_uring: don't io_prep_async_work() linked reqs
      io_uring: Convert advanced XArray uses to the normal API
      io_uring: Fix XArray usage in io_uring_add_task_file
      io_uring: Fix use of XArray in __io_uring_files_cancel
      io_uring: fix break condition for __io_uring_register() waiting
      io_uring: no need to call xa_destroy() on empty xarray
      io_uring: batch account ->req_issue and task struct references
      io_uring: kill callback_head argument for io_req_task_work_add()
      io_uring: move req preps out of io_issue_sqe()
      ...
    6ad4bf6e
io_uring.c 230 KB