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 18, 2024
1 parent ce5b554 commit eddcbd0
Show file tree
Hide file tree
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
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions mk/sm.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eddcbd0

Please sign in to comment.