• Linus Torvalds's avatar
    Merge tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-block · 3b629f8d
    Linus Torvalds authored
    Pull support for struct bio recycling from Jens Axboe:
     "This adds bio recycling support for polled IO, allowing quick reuse of
      a bio for high IOPS scenarios via a percpu bio_set list.
    
      It's good for almost a 10% improvement in performance, bumping our
      per-core IO limit from ~3.2M IOPS to ~3.5M IOPS"
    
    * tag 'io_uring-bio-cache.5-2021-08-30' of git://git.kernel.dk/linux-block:
      bio: improve kerneldoc documentation for bio_alloc_kiocb()
      block: provide bio_clear_hipri() helper
      block: use the percpu bio cache in __blkdev_direct_IO
      io_uring: enable use of bio alloc cache
      block: clear BIO_PERCPU_CACHE flag if polling isn't supported
      bio: add allocation cache abstraction
      fs: add kiocb alloc cache flag
      bio: optimize initialization of a bio
    3b629f8d
io_uring.c 261 KB