Commit fb7d3bc
mm/filemap: drop streaming/uncached pages when writeback completes
If the folio is marked as streaming, drop pages when writeback completes.
Intended to be used with RWF_DONTCACHE, to avoid needing sync writes for
uncached IO.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Cc: Brian Foster <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Matthew Wilcox (Oracle) <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent 8026e49 commit fb7d3bc
1 file changed
+28
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1571 | 1571 | | |
1572 | 1572 | | |
1573 | 1573 | | |
| 1574 | + | |
| 1575 | + | |
| 1576 | + | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
| 1592 | + | |
| 1593 | + | |
| 1594 | + | |
1574 | 1595 | | |
1575 | 1596 | | |
1576 | 1597 | | |
| |||
1581 | 1602 | | |
1582 | 1603 | | |
1583 | 1604 | | |
| 1605 | + | |
| 1606 | + | |
1584 | 1607 | | |
1585 | 1608 | | |
1586 | 1609 | | |
| |||
1602 | 1625 | | |
1603 | 1626 | | |
1604 | 1627 | | |
| 1628 | + | |
| 1629 | + | |
1605 | 1630 | | |
1606 | 1631 | | |
1607 | 1632 | | |
| 1633 | + | |
| 1634 | + | |
| 1635 | + | |
1608 | 1636 | | |
1609 | 1637 | | |
1610 | 1638 | | |
| |||
0 commit comments