Skip to content

Commit

Permalink
CP-52620: enable read-through cache on persistent leaf
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Syms <[email protected]>
  • Loading branch information
MarkSymsCtx committed Nov 19, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2ef2f75 commit af36b73
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/blktap2.py
Original file line number Diff line number Diff line change
@@ -1970,7 +1970,7 @@ def _setup_cache(self, session, sr_uuid, vdi_uuid, local_sr_uuid,
blktap = Blktap.allocate()
child_options = copy.deepcopy(options)
child_options["rdonly"] = False
child_options["lcache"] = False
child_options["lcache"] = (not scratch_mode)
child_options["existing_prt"] = prt_tapdisk.minor
child_options["secondary"] = secondary
child_options["standby"] = scratch_mode
1 change: 1 addition & 0 deletions mk/sm.spec.in
Original file line number Diff line number Diff line change
@@ -24,6 +24,7 @@ Requires: xenserver-multipath
Requires: python3-bitarray
Requires: python3-future
Conflicts: kernel < 4.19.19-5.0.0
Conflicts: blktap < 3.55.3

%description
This package contains storage backends used in XCP

0 comments on commit af36b73

Please sign in to comment.