]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'folio-5.18f' of git://git.infradead.org/users/willy/pagecache
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 May 2022 23:52:15 +0000 (16:52 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 5 May 2022 23:52:15 +0000 (16:52 -0700)
commit86ca33df3fa78e1fb76e740c6ab80a5437d1cb91
tree766fa93ae394a9d1bc922d97e8e30fca6ef22312
parent9b5e502835d3f4fdedc8fec840c6c01b8922f985
parent45f6b98868c8746fc8bf36ab1e7cd15b42ca7987
Merge tag 'folio-5.18f' of git://git.infradead.org/users/willy/pagecache

Pull folio fixes from Matthew Wilcox:
 "Two folio fixes for 5.18.

  Darrick and Brian have done amazing work debugging the race I created
  in the folio BIO iterator. The readahead problem was deterministic, so
  easy to fix.

   - Fix a race when we were calling folio_next() in the BIO folio iter
     without holding a reference, meaning the folio could be split or
     freed, and we'd jump to the next page instead of the intended next
     folio.

   - Fix readahead creating single-page folios instead of the intended
     large folios when doing reads that are not a power of two in size"

* tag 'folio-5.18f' of git://git.infradead.org/users/willy/pagecache:
  mm/readahead: Fix readahead with large folios
  block: Do not call folio_next() on an unreferenced folio