Commit 94bce81
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 81cf931 commit 94bce81
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1530 | 1530 | | |
1531 | 1531 | | |
1532 | 1532 | | |
1533 | | - | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
1534 | 1545 | | |
1535 | 1546 | | |
1536 | 1547 | | |
| |||
1541 | 1552 | | |
1542 | 1553 | | |
1543 | 1554 | | |
| 1555 | + | |
1544 | 1556 | | |
1545 | 1557 | | |
1546 | 1558 | | |
| |||
1663 | 1675 | | |
1664 | 1676 | | |
1665 | 1677 | | |
1666 | | - | |
1667 | 1678 | | |
1668 | 1679 | | |
1669 | 1680 | | |
| |||
1706 | 1717 | | |
1707 | 1718 | | |
1708 | 1719 | | |
1709 | | - | |
1710 | | - | |
| 1720 | + | |
1711 | 1721 | | |
1712 | 1722 | | |
1713 | 1723 | | |
| |||
1880 | 1890 | | |
1881 | 1891 | | |
1882 | 1892 | | |
1883 | | - | |
| 1893 | + | |
1884 | 1894 | | |
1885 | 1895 | | |
1886 | 1896 | | |
| |||
| 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