Commit 57e1138
committed
Remove special cases for ETXTBSY from new fsync'ing logic.
The argument that this is a sufficiently-expected case to be silently
ignored seems pretty thin. Andres had brought it up back when we were
still considering that most fsync failures should be hard errors, and it
probably would be legit not to fail hard for ETXTBSY --- but the same is
true for EROFS and other cases, which is why we gave up on hard failures.
ETXTBSY is surely not a normal case, so logging the failure seems fine
from here.1 parent 1c8c656 commit 57e1138
2 files changed
+3
-24
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2648 | 2648 | | |
2649 | 2649 | | |
2650 | 2650 | | |
2651 | | - | |
2652 | | - | |
2653 | | - | |
2654 | | - | |
2655 | | - | |
2656 | | - | |
2657 | 2651 | | |
2658 | 2652 | | |
2659 | 2653 | | |
2660 | 2654 | | |
2661 | 2655 | | |
2662 | 2656 | | |
| 2657 | + | |
| 2658 | + | |
| 2659 | + | |
2663 | 2660 | | |
2664 | 2661 | | |
2665 | 2662 | | |
| |||
2703 | 2700 | | |
2704 | 2701 | | |
2705 | 2702 | | |
2706 | | - | |
2707 | | - | |
2708 | | - | |
2709 | | - | |
2710 | | - | |
2711 | | - | |
2712 | 2703 | | |
2713 | 2704 | | |
2714 | 2705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
619 | 619 | | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
623 | | - | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | 622 | | |
629 | 623 | | |
630 | 624 | | |
| |||
684 | 678 | | |
685 | 679 | | |
686 | 680 | | |
687 | | - | |
688 | | - | |
689 | | - | |
690 | | - | |
691 | | - | |
692 | | - | |
693 | 681 | | |
694 | 682 | | |
695 | 683 | | |
| |||
0 commit comments