Setup loopback devices using Direct I/O
This commit is contained in:
parent
dcc2210b3c
commit
c9da83b19b
@ -6,7 +6,7 @@ Kubernetes LocalPVs on Steroids
|
|||||||
Features
|
Features
|
||||||
---
|
---
|
||||||
|
|
||||||
- [x] Near-zero disk performance overhead
|
- [x] Direct I/O: Near-zero disk performance overhead
|
||||||
- [x] Dynamic provisioning
|
- [x] Dynamic provisioning
|
||||||
- [x] Enforced volume size limit
|
- [x] Enforced volume size limit
|
||||||
- [x] Thin provisioned
|
- [x] Thin provisioned
|
||||||
|
@ -52,4 +52,4 @@ def attach_loop(file) -> str:
|
|||||||
if len(devs) > 0:
|
if len(devs) > 0:
|
||||||
return devs[0]
|
return devs[0]
|
||||||
next_loop()
|
next_loop()
|
||||||
run(f"losetup -f {file}")
|
run(f"losetup --direct-io=on -f {file}")
|
||||||
|
Loading…
Reference in New Issue
Block a user