Commit 2f87fc4
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 301363b commit 2f87fc4
2 files changed
Lines changed: 20 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1527 | 1527 | | |
1528 | 1528 | | |
1529 | 1529 | | |
1530 | | - | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
1531 | 1542 | | |
1532 | 1543 | | |
1533 | 1544 | | |
| |||
1538 | 1549 | | |
1539 | 1550 | | |
1540 | 1551 | | |
| 1552 | + | |
1541 | 1553 | | |
1542 | 1554 | | |
1543 | 1555 | | |
| |||
1660 | 1672 | | |
1661 | 1673 | | |
1662 | 1674 | | |
1663 | | - | |
1664 | 1675 | | |
1665 | 1676 | | |
1666 | 1677 | | |
| |||
1703 | 1714 | | |
1704 | 1715 | | |
1705 | 1716 | | |
1706 | | - | |
1707 | | - | |
| 1717 | + | |
1708 | 1718 | | |
1709 | 1719 | | |
1710 | 1720 | | |
| |||
1877 | 1887 | | |
1878 | 1888 | | |
1879 | 1889 | | |
1880 | | - | |
| 1890 | + | |
1881 | 1891 | | |
1882 | 1892 | | |
1883 | 1893 | | |
| |||
| 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