Skip to content

Commit fd920a9

Browse files
author
David Scott
committed
Update to use new read caching API (o_direct, o_direct_reason)
Signed-off-by: David Scott <dave.scott@citrix.com>
1 parent 0e9a5d3 commit fd920a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,9 @@ let process root_dir name x =
353353
| Storage.D.Types.Tapdisk3 p -> "vbd3", p in
354354
let attach_info = {
355355
params;
356-
xenstore_data = [ "backend-kind", backend ]
356+
xenstore_data = [ "backend-kind", backend ];
357+
o_direct = true;
358+
o_direct_reason = "";
357359
} in
358360
Deferred.Result.return (R.success (Args.VDI.Attach.rpc_of_response attach_info))
359361
| { R.name = "VDI.activate"; R.params = [ args ] } ->

0 commit comments

Comments
 (0)