This repository was archived by the owner on Nov 8, 2023. It is now read-only.
Commit 790cf85
ANDROID: incremental fs: Fix race between truncate and write last block
Also fix race whereby multiple providers writinig the same block would
actually write out the same block.
Note that multiple_providers_test started failing when incfs was ported
to 5.15, and these fixes are needed to make the test reliable
Bug: 264703896
Test: incfs-test passes, specifically multiple_providers_test. Ran 100
times
Change-Id: I05ad5b2b2f62cf218256222cecb79bbe9953bd97
Signed-off-by: Paul Lawrence <paullawrence@google.com>1 parent d7d3997 commit 790cf85
3 files changed
+34
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1381 | 1381 | | |
1382 | 1382 | | |
1383 | 1383 | | |
1384 | | - | |
| 1384 | + | |
| 1385 | + | |
1385 | 1386 | | |
1386 | 1387 | | |
1387 | 1388 | | |
| |||
1420 | 1421 | | |
1421 | 1422 | | |
1422 | 1423 | | |
1423 | | - | |
| 1424 | + | |
1424 | 1425 | | |
1425 | 1426 | | |
1426 | | - | |
1427 | 1427 | | |
1428 | 1428 | | |
1429 | 1429 | | |
1430 | 1430 | | |
1431 | 1431 | | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
1432 | 1440 | | |
1433 | | - | |
1434 | | - | |
1435 | | - | |
| 1441 | + | |
| 1442 | + | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
1436 | 1446 | | |
1437 | | - | |
1438 | | - | |
1439 | | - | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
1440 | 1457 | | |
1441 | | - | |
1442 | | - | |
1443 | 1458 | | |
| 1459 | + | |
1444 | 1460 | | |
1445 | 1461 | | |
1446 | 1462 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
| 444 | + | |
| 445 | + | |
445 | 446 | | |
446 | 447 | | |
447 | 448 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | | - | |
673 | | - | |
| 672 | + | |
674 | 673 | | |
675 | 674 | | |
676 | 675 | | |
| |||
679 | 678 | | |
680 | 679 | | |
681 | 680 | | |
682 | | - | |
683 | | - | |
684 | | - | |
685 | 681 | | |
686 | 682 | | |
687 | 683 | | |
| |||
740 | 736 | | |
741 | 737 | | |
742 | 738 | | |
| 739 | + | |
743 | 740 | | |
744 | 741 | | |
745 | 742 | | |
| |||
781 | 778 | | |
782 | 779 | | |
783 | 780 | | |
784 | | - | |
| 781 | + | |
785 | 782 | | |
786 | 783 | | |
787 | 784 | | |
| |||
790 | 787 | | |
791 | 788 | | |
792 | 789 | | |
793 | | - | |
| 790 | + | |
| 791 | + | |
794 | 792 | | |
795 | 793 | | |
796 | 794 | | |
| |||
0 commit comments