Add read_only, autoclear and direct IO

Allow passing the read only and autoclear flag when attaching a backing
file. Allow to pass a raw fd instead of a Path when attaching. Add a fn
to set the direct IO flag.
This commit is contained in:
Felix Obenhuber 2021-05-27 08:50:47 +02:00 • committed by Michael Daffin
commit 87a6cb2ec4
2 changed files with 90 additions and 16 deletions