Commit d454ab8
Matthew Wilcox (Oracle)
iomap: Allow iomap_write_begin() to be called with the full length
In the future, we want write_begin to know the entire length of the
write so that it can choose to allocate large folios. Pass the full
length in from __iomap_zero_iter() and limit it where necessary.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>1 parent ea0f843 commit d454ab8
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
622 | 625 | | |
623 | 626 | | |
624 | 627 | | |
| |||
632 | 635 | | |
633 | 636 | | |
634 | 637 | | |
| 638 | + | |
| 639 | + | |
635 | 640 | | |
636 | 641 | | |
637 | 642 | | |
| |||
891 | 896 | | |
892 | 897 | | |
893 | 898 | | |
894 | | - | |
| 899 | + | |
895 | 900 | | |
896 | 901 | | |
897 | 902 | | |
898 | 903 | | |
| 904 | + | |
| 905 | + | |
899 | 906 | | |
900 | 907 | | |
901 | 908 | | |
| |||
0 commit comments