Commit dd348f0
committed
jbd2: switch to using the crc32c library
Now that the crc32c() library function directly takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API. Just use crc32c(). This is much simpler, and it improves
performance due to eliminating the crypto API overhead.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Theodore Ts'o <tytso@mit.edu>
Link: https://lore.kernel.org/r/20241202010844.144356-18-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>1 parent f2b4fa1 commit dd348f0
3 files changed
Lines changed: 6 additions & 59 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | |
1372 | | - | |
1373 | 1372 | | |
1374 | 1373 | | |
1375 | 1374 | | |
1376 | 1375 | | |
1377 | 1376 | | |
1378 | 1377 | | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
1385 | | - | |
1386 | 1378 | | |
1387 | 1379 | | |
1388 | 1380 | | |
| |||
1608 | 1600 | | |
1609 | 1601 | | |
1610 | 1602 | | |
1611 | | - | |
1612 | | - | |
1613 | 1603 | | |
1614 | 1604 | | |
1615 | 1605 | | |
| |||
2191 | 2181 | | |
2192 | 2182 | | |
2193 | 2183 | | |
2194 | | - | |
2195 | | - | |
2196 | 2184 | | |
2197 | 2185 | | |
2198 | 2186 | | |
| |||
2337 | 2325 | | |
2338 | 2326 | | |
2339 | 2327 | | |
2340 | | - | |
2341 | | - | |
2342 | | - | |
2343 | | - | |
2344 | | - | |
2345 | | - | |
2346 | | - | |
2347 | | - | |
2348 | | - | |
2349 | | - | |
2350 | | - | |
2351 | | - | |
2352 | | - | |
2353 | | - | |
2354 | 2328 | | |
2355 | 2329 | | |
2356 | | - | |
| 2330 | + | |
2357 | 2331 | | |
2358 | 2332 | | |
2359 | 2333 | | |
2360 | 2334 | | |
| 2335 | + | |
| 2336 | + | |
2361 | 2337 | | |
2362 | 2338 | | |
2363 | 2339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
1241 | 1241 | | |
1242 | 1242 | | |
1243 | 1243 | | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
1247 | | - | |
1248 | | - | |
1249 | | - | |
1250 | | - | |
1251 | 1244 | | |
1252 | 1245 | | |
1253 | 1246 | | |
| |||
1750 | 1743 | | |
1751 | 1744 | | |
1752 | 1745 | | |
1753 | | - | |
1754 | | - | |
1755 | | - | |
1756 | | - | |
| 1746 | + | |
1757 | 1747 | | |
1758 | 1748 | | |
1759 | 1749 | | |
| |||
1790 | 1780 | | |
1791 | 1781 | | |
1792 | 1782 | | |
1793 | | - | |
1794 | | - | |
1795 | | - | |
1796 | 1783 | | |
1797 | 1784 | | |
1798 | 1785 | | |
1799 | | - | |
1800 | | - | |
1801 | | - | |
1802 | | - | |
1803 | | - | |
1804 | | - | |
1805 | | - | |
1806 | | - | |
1807 | | - | |
1808 | | - | |
1809 | | - | |
1810 | | - | |
1811 | | - | |
1812 | | - | |
1813 | | - | |
| 1786 | + | |
1814 | 1787 | | |
1815 | 1788 | | |
1816 | 1789 | | |
| |||
0 commit comments