An error occurred fetching the project authors.
  1. 15 Apr, 2024 35 commits
  2. 06 Apr, 2024 1 commit
  3. 03 Apr, 2024 2 commits
    • Jens Axboe's avatar
      io_uring/kbuf: hold io_buffer_list reference over mmap · 561e4f94
      Jens Axboe authored
      If we look up the kbuf, ensure that it doesn't get unregistered until
      after we're done with it. Since we're inside mmap, we cannot safely use
      the io_uring lock. Rely on the fact that we can lookup the buffer list
      under RCU now and grab a reference to it, preventing it from being
      unregistered until we're done with it. The lookup returns the
      io_buffer_list directly with it referenced.
      
      Cc: stable@vger.kernel.org # v6.4+
      Fixes: 5cf4f52e ("io_uring: free io_buffer_list entries via RCU")
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      561e4f94
    • Jens Axboe's avatar
      io_uring/kbuf: get rid of lower BGID lists · 09ab7eff
      Jens Axboe authored
      Just rely on the xarray for any kind of bgid. This simplifies things, and
      it really doesn't bring us much, if anything.
      
      Cc: stable@vger.kernel.org # v6.4+
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      09ab7eff
  4. 02 Apr, 2024 1 commit
  5. 01 Apr, 2024 1 commit
    • Jens Axboe's avatar
      io_uring: disable io-wq execution of multishot NOWAIT requests · bee1d5be
      Jens Axboe authored
      Do the same check for direct io-wq execution for multishot requests that
      commit 2a975d42 did for the inline execution, and disable multishot
      mode (and revert to single shot) if the file type doesn't support NOWAIT,
      and isn't opened in O_NONBLOCK mode. For multishot to work properly, it's
      a requirement that nonblocking read attempts can be done.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      bee1d5be