Commit 3ca4bec
committed
f2fs: switch to using the crc32 library
Now that the crc32() library function takes advantage of
architecture-specific optimizations, it is unnecessary to go through the
crypto API. Just use crc32(). This is much simpler, and it improves
performance due to eliminating the crypto API overhead.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20241202010844.144356-19-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>1 parent dd348f0 commit 3ca4bec
3 files changed
Lines changed: 2 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
1768 | 1767 | | |
1769 | 1768 | | |
1770 | 1769 | | |
1771 | | - | |
1772 | | - | |
1773 | | - | |
1774 | 1770 | | |
1775 | 1771 | | |
1776 | 1772 | | |
| |||
1948 | 1944 | | |
1949 | 1945 | | |
1950 | 1946 | | |
1951 | | - | |
1952 | | - | |
1953 | | - | |
1954 | | - | |
1955 | | - | |
1956 | | - | |
1957 | | - | |
1958 | | - | |
1959 | | - | |
1960 | | - | |
1961 | | - | |
1962 | | - | |
1963 | | - | |
1964 | | - | |
1965 | | - | |
| 1947 | + | |
1966 | 1948 | | |
1967 | 1949 | | |
1968 | 1950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1694 | 1694 | | |
1695 | 1695 | | |
1696 | 1696 | | |
1697 | | - | |
1698 | | - | |
1699 | 1697 | | |
1700 | 1698 | | |
1701 | 1699 | | |
| |||
4466 | 4464 | | |
4467 | 4465 | | |
4468 | 4466 | | |
4469 | | - | |
4470 | | - | |
4471 | | - | |
4472 | | - | |
4473 | | - | |
4474 | | - | |
4475 | | - | |
4476 | | - | |
4477 | | - | |
4478 | 4467 | | |
4479 | 4468 | | |
4480 | 4469 | | |
| |||
4919 | 4908 | | |
4920 | 4909 | | |
4921 | 4910 | | |
4922 | | - | |
4923 | | - | |
4924 | 4911 | | |
4925 | 4912 | | |
4926 | 4913 | | |
| |||
5127 | 5114 | | |
5128 | 5115 | | |
5129 | 5116 | | |
5130 | | - | |
5131 | | - | |
0 commit comments