diff options
| author | Jakob Unterwurzacher | 2023-06-09 07:50:11 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2026-07-16 22:07:54 +0200 |
| commit | e16b80c01d655b1fce26183ca3ca72059472d494 (patch) | |
| tree | 03be67485ed991d17d16600396f63bd6185c1f74 /tests/cluster | |
| parent | 2ca5ba9e69bccce27638fa0525cc5f66837dc047 (diff) | |
tests/cluster: note that ext4 provides no atomicity
Diffstat (limited to 'tests/cluster')
| -rw-r--r-- | tests/cluster/cluster_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/cluster/cluster_test.go b/tests/cluster/cluster_test.go index 4f39410..d154100 100644 --- a/tests/cluster/cluster_test.go +++ b/tests/cluster/cluster_test.go @@ -30,6 +30,13 @@ import ( // > Other Linux filesystems only guaranty page level atomicity for // > buffered read/write. // +// Note that ext4 actually provides NO ATOMICITY AT ALL. +// Quoting https://stackoverflow.com/a/35256626 : +// +// > Linux 4.2.6 with ext4: update atomicity = 1 byte +// +// TestPoCTornWrite in this package confirms this. +// // See also: // - https://lore.kernel.org/linux-xfs/20190325001044.GA23020@dastard/ // Dave Chinner: XFS is the only linux filesystem that provides this behaviour. |
