diff --git a/README.md b/README.md index 14097e3..18b3e75 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Kubernetes LocalPVs on Steroids Features --- -- [x] Near-zero disk performance overhead +- [x] Direct I/O: Near-zero disk performance overhead - [x] Dynamic provisioning - [x] Enforced volume size limit - [x] Thin provisioned diff --git a/rawfile_util.py b/rawfile_util.py index abed825..1d3b734 100644 --- a/rawfile_util.py +++ b/rawfile_util.py @@ -52,4 +52,4 @@ def attach_loop(file) -> str: if len(devs) > 0: return devs[0] next_loop() - run(f"losetup -f {file}") + run(f"losetup --direct-io=on -f {file}")