Browse Source

Merge pull request #201 from trapexit/remove-warning

remove incorrect warning about race condition with mkdir/mknod
pull/203/head
Antonio SJ Musumeci 9 years ago
parent
commit
8287f7f119
  1. 2
      README.md

2
README.md

@ -141,8 +141,6 @@ It could be extended to offer the ability to see all files found. Perhaps concat
[statvfs](http://linux.die.net/man/2/statvfs) normalizes the source drives based on the fragment size and sums the number of adjusted blocks and inodes. This means you will see the combined space of all sources. Total, used, and free. The sources however are dedupped based on the drive so multiple mount points on the same drive will not result in double counting it's space. It is possible due to a race condition that the same drive could be double counted but it's rather unlikely. [statvfs](http://linux.die.net/man/2/statvfs) normalizes the source drives based on the fragment size and sums the number of adjusted blocks and inodes. This means you will see the combined space of all sources. Total, used, and free. The sources however are dedupped based on the drive so multiple mount points on the same drive will not result in double counting it's space. It is possible due to a race condition that the same drive could be double counted but it's rather unlikely.
**NOTE:** Since we can not (easily) replicate the atomicity of an **mkdir** or **mknod** without side effects those calls will first do a scan to see if the file exists and then attempts a create. This means there is a slight race condition. Worse case you'd end up with the directory or file on more than one mount.
# BUILDING # BUILDING
**NOTE:** Prebuilt packages can be found at: https://github.com/trapexit/mergerfs/releases **NOTE:** Prebuilt packages can be found at: https://github.com/trapexit/mergerfs/releases

Loading…
Cancel
Save