Setup loopback devices using Direct I/O

This commit is contained in:
Mehran Kholdi 2020-04-26 02:01:23 +04:30
parent dcc2210b3c
commit c9da83b19b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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}")