Commit c6f18f9
iomap: add public helpers for uptodate state manipulation
Add a new iomap_start_folio_write helper to abstract away the
write_bytes_pending handling, and export it and the existing
iomap_finish_folio_write for non-iomap writeback in fuse.
Signed-off-by: Joanne Koong <[email protected]>
[hch: split from a larger patch]
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Brian Foster <[email protected]>
Reviewed-by: "Darrick J. Wong" <[email protected]>1 parent 2dbca5a commit c6f18f9
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1525 | 1525 | | |
1526 | 1526 | | |
1527 | 1527 | | |
1528 | | - | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
1529 | 1540 | | |
1530 | 1541 | | |
1531 | 1542 | | |
| |||
1536 | 1547 | | |
1537 | 1548 | | |
1538 | 1549 | | |
| 1550 | + | |
1539 | 1551 | | |
1540 | 1552 | | |
1541 | 1553 | | |
| |||
1658 | 1670 | | |
1659 | 1671 | | |
1660 | 1672 | | |
1661 | | - | |
1662 | 1673 | | |
1663 | 1674 | | |
1664 | 1675 | | |
| |||
1701 | 1712 | | |
1702 | 1713 | | |
1703 | 1714 | | |
1704 | | - | |
1705 | | - | |
| 1715 | + | |
1706 | 1716 | | |
1707 | 1717 | | |
1708 | 1718 | | |
| |||
1875 | 1885 | | |
1876 | 1886 | | |
1877 | 1887 | | |
1878 | | - | |
| 1888 | + | |
1879 | 1889 | | |
1880 | 1890 | | |
1881 | 1891 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
464 | 469 | | |
465 | 470 | | |
466 | 471 | | |
| |||
0 commit comments