• Linus Torvalds's avatar
    Merge tag 'io_uring-5.9-2020-08-28' of git://git.kernel.dk/linux-block · 24148d86
    Linus Torvalds authored
    Pull io_uring fixes from Jens Axboe:
     "A few fixes in here, all based on reports and test cases from folks
      using it. Most of it is stable material as well:
    
       - Hashed work cancelation fix (Pavel)
    
       - poll wakeup signalfd fix
    
       - memlock accounting fix
    
       - nonblocking poll retry fix
    
       - ensure we never return -ERESTARTSYS for reads
    
       - ensure offset == -1 is consistent with preadv2() as documented
    
       - IOPOLL -EAGAIN handling fixes
    
       - remove useless task_work bounce for block based -EAGAIN retry"
    
    * tag 'io_uring-5.9-2020-08-28' of git://git.kernel.dk/linux-block:
      io_uring: don't bounce block based -EAGAIN retry off task_work
      io_uring: fix IOPOLL -EAGAIN retries
      io_uring: clear req->result on IOPOLL re-issue
      io_uring: make offset == -1 consistent with preadv2/pwritev2
      io_uring: ensure read requests go through -ERESTART* transformation
      io_uring: don't use poll handler if file can't be nonblocking read/written
      io_uring: fix imbalanced sqo_mm accounting
      io_uring: revert consumed iov_iter bytes on error
      io-wq: fix hang after cancelling pending hashed work
      io_uring: don't recurse on tsk->sighand->siglock with signalfd
    24148d86
io_uring.c 211 KB