Commit f2b4fa1
committed
ext4: 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-17-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>1 parent 38a9a51 commit f2b4fa1
3 files changed
Lines changed: 4 additions & 39 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
36 | 35 | | |
37 | 36 | | |
38 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | | - | |
1666 | | - | |
1667 | | - | |
1668 | 1665 | | |
1669 | 1666 | | |
1670 | 1667 | | |
| |||
2463 | 2460 | | |
2464 | 2461 | | |
2465 | 2462 | | |
2466 | | - | |
2467 | | - | |
2468 | | - | |
2469 | | - | |
2470 | | - | |
2471 | | - | |
2472 | | - | |
2473 | | - | |
2474 | | - | |
2475 | | - | |
2476 | | - | |
2477 | | - | |
2478 | | - | |
| 2463 | + | |
2479 | 2464 | | |
2480 | 2465 | | |
2481 | 2466 | | |
| |||
3276 | 3261 | | |
3277 | 3262 | | |
3278 | 3263 | | |
3279 | | - | |
3280 | | - | |
3281 | | - | |
3282 | | - | |
3283 | | - | |
| 3264 | + | |
3284 | 3265 | | |
3285 | 3266 | | |
3286 | 3267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1380 | 1380 | | |
1381 | 1381 | | |
1382 | 1382 | | |
1383 | | - | |
1384 | | - | |
1385 | 1383 | | |
1386 | 1384 | | |
1387 | 1385 | | |
| |||
4634 | 4632 | | |
4635 | 4633 | | |
4636 | 4634 | | |
4637 | | - | |
4638 | | - | |
4639 | | - | |
4640 | | - | |
4641 | | - | |
4642 | | - | |
4643 | | - | |
4644 | | - | |
4645 | | - | |
4646 | 4635 | | |
4647 | 4636 | | |
4648 | 4637 | | |
| |||
5687 | 5676 | | |
5688 | 5677 | | |
5689 | 5678 | | |
5690 | | - | |
5691 | | - | |
5692 | | - | |
5693 | 5679 | | |
5694 | 5680 | | |
5695 | 5681 | | |
| |||
7494 | 7480 | | |
7495 | 7481 | | |
7496 | 7482 | | |
7497 | | - | |
7498 | 7483 | | |
7499 | 7484 | | |
0 commit comments