1. 21 Jul, 2022 2 commits
  2. 09 Jul, 2022 1 commit
    • Jens Axboe's avatar
      io_uring: check that we have a file table when allocating update slots · d785a773
      Jens Axboe authored
      If IORING_FILE_INDEX_ALLOC is set asking for an allocated slot, the
      helper doesn't check if we actually have a file table or not. The non
      alloc path does do that correctly, and returns -ENXIO if we haven't set
      one up.
      
      Do the same for the allocated path, avoiding a NULL pointer dereference
      when trying to find a free bit.
      
      Fixes: a7c41b46 ("io_uring: let IORING_OP_FILES_UPDATE support choosing fixed file slots")
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      d785a773
  3. 07 Jul, 2022 1 commit
  4. 30 Jun, 2022 2 commits
  5. 23 Jun, 2022 2 commits
  6. 21 Jun, 2022 5 commits
  7. 20 Jun, 2022 1 commit
    • Jens Axboe's avatar
      io_uring: mark reissue requests with REQ_F_PARTIAL_IO · 1bacd264
      Jens Axboe authored
      If we mark for reissue, we assume that the buffer will remain stable.
      Hence if are using a provided buffer, we need to ensure that we stick
      with it for the duration of that request.
      
      This only affects block devices that use provided buffers, as those are
      the only ones that get marked with REQ_F_REISSUE.
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      1bacd264
  8. 17 Jun, 2022 1 commit
  9. 16 Jun, 2022 2 commits
  10. 15 Jun, 2022 6 commits
  11. 14 Jun, 2022 3 commits
  12. 13 Jun, 2022 10 commits
  13. 12 Jun, 2022 4 commits