Repository navigation
Commit 0d28544
committed
Merge tag 'f2fs-for-v5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
Pull f2fs updates from Jaegeuk Kim:
"Another round of various bug fixes came in. Damien improved SMR drive
support a bit, and Chao replaced BUG_ON() with reporting errors to
user since we've not hit from users but did hit from crafted images.
We've found a disk layout bug in large_nat_bits feature which supports
very large NAT entries enabled at mkfs. If the feature is enabled, it
will give a notice to run fsck to correct the on-disk layout.
Enhancements:
- reduce memory consumption for SMR drive
- better discard handling for multiple partitions
- tracepoints for f2fs_file_write_iter/f2fs_filemap_fault
- allow to change CP_CHKSUM_OFFSET
- detect wrong layout of large_nat_bitmap feature
- enhance checking valid data indices
Bug fixes:
- Multiple partition support for SMR drive
- deadlock problem in f2fs_balance_fs_bg
- add boundary checks to fix abnormal behaviors on fuzzed images
- inline_xattr space calculations
- replace f2fs_bug_on with errors
In addition, this series contains various memory boundary check and
sanity check of on-disk consistency"
* tag 'f2fs-for-v5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (40 commits)
f2fs: fix to avoid accessing xattr across the boundary
f2fs: fix to avoid potential race on sbi->unusable_block_count access/update
f2fs: add tracepoint for f2fs_filemap_fault()
f2fs: introduce DATA_GENERIC_ENHANCE
f2fs: fix to handle error in f2fs_disable_checkpoint()
f2fs: remove redundant check in f2fs_file_write_iter()
f2fs: fix to be aware of readonly device in write_checkpoint()
f2fs: fix to skip recovery on readonly device
f2fs: fix to consider multiple device for readonly check
f2fs: relocate chksum_offset for large_nat_bitmap feature
f2fs: allow unfixed f2fs_checkpoint.checksum_offset
f2fs: Replace spaces with tab
f2fs: insert space before the open parenthesis '('
f2fs: allow address pointer number of dnode aligning to specified size
f2fs: introduce f2fs_read_single_page() for cleanup
f2fs: mark is_extension_exist() inline
f2fs: fix to set FI_UPDATE_WRITE correctly
f2fs: fix to avoid panic in f2fs_inplace_write_data()
f2fs: fix to do sanity check on valid block count of segment
f2fs: fix to do sanity check on valid node/block count
...18 files changed
Lines changed: 688 additions & 302 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
329 | | - | |
| 329 | + | |
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
133 | 157 | | |
134 | 158 | | |
135 | 159 | | |
| |||
151 | 175 | | |
152 | 176 | | |
153 | 177 | | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
154 | 182 | | |
| 183 | + | |
| 184 | + | |
155 | 185 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
162 | 191 | | |
| 192 | + | |
| 193 | + | |
163 | 194 | | |
164 | 195 | | |
165 | 196 | | |
| |||
189 | 220 | | |
190 | 221 | | |
191 | 222 | | |
192 | | - | |
| 223 | + | |
193 | 224 | | |
194 | 225 | | |
195 | 226 | | |
| |||
644 | 675 | | |
645 | 676 | | |
646 | 677 | | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
647 | 684 | | |
648 | 685 | | |
649 | 686 | | |
| |||
758 | 795 | | |
759 | 796 | | |
760 | 797 | | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
761 | 813 | | |
762 | 814 | | |
763 | 815 | | |
764 | 816 | | |
765 | | - | |
766 | 817 | | |
767 | | - | |
| 818 | + | |
768 | 819 | | |
769 | 820 | | |
770 | 821 | | |
| |||
773 | 824 | | |
774 | 825 | | |
775 | 826 | | |
776 | | - | |
| 827 | + | |
| 828 | + | |
777 | 829 | | |
778 | 830 | | |
779 | 831 | | |
780 | 832 | | |
781 | 833 | | |
782 | 834 | | |
783 | | - | |
784 | | - | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
785 | 848 | | |
786 | 849 | | |
787 | 850 | | |
| |||
1009 | 1072 | | |
1010 | 1073 | | |
1011 | 1074 | | |
1012 | | - | |
1013 | | - | |
| 1075 | + | |
1014 | 1076 | | |
1015 | 1077 | | |
1016 | 1078 | | |
1017 | | - | |
1018 | | - | |
| 1079 | + | |
1019 | 1080 | | |
1020 | 1081 | | |
1021 | 1082 | | |
| |||
1391 | 1452 | | |
1392 | 1453 | | |
1393 | 1454 | | |
1394 | | - | |
| 1455 | + | |
1395 | 1456 | | |
1396 | 1457 | | |
1397 | 1458 | | |
| |||
1475 | 1536 | | |
1476 | 1537 | | |
1477 | 1538 | | |
| 1539 | + | |
| 1540 | + | |
1478 | 1541 | | |
| 1542 | + | |
| 1543 | + | |
1479 | 1544 | | |
1480 | 1545 | | |
1481 | 1546 | | |
| |||
1500 | 1565 | | |
1501 | 1566 | | |
1502 | 1567 | | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
1503 | 1571 | | |
1504 | 1572 | | |
1505 | 1573 | | |
| |||
1516 | 1584 | | |
1517 | 1585 | | |
1518 | 1586 | | |
1519 | | - | |
1520 | | - | |
1521 | | - | |
1522 | | - | |
1523 | 1587 | | |
1524 | 1588 | | |
1525 | 1589 | | |
| |||
0 commit comments