Displaying 20 results from an estimated 23 matches for "set_cache".
2019 Aug 15
2
[nbdkit PATCH] ocaml: Add support for dynamic .thread_model
...; unit = "ocaml_nbdkit_set_version" "noalloc"
@@ -181,9 +184,11 @@ external set_extents : ('a -> int32 -> int64 -> flags -> extent list) -> unit =
external set_can_cache : ('a -> cache_flag) -> unit = "ocaml_nbdkit_set_can_cache"
external set_cache : ('a -> int32 -> int64 -> flags -> unit) -> unit = "ocaml_nbdkit_set_cache"
+external set_thread_model : (unit -> thread_model) -> unit = "ocaml_nbdkit_set_thread_model" "noalloc"
+
let may f = function None -> () | Some a -> f a
-let...
2019 May 16
0
[nbdkit PATCH v2 08/24] ocaml: Implement .cache script callback
...unit = "ocaml_nbdkit_set_can_extents"
external set_extents : ('a -> int32 -> int64 -> flags -> extent list) -> unit = "ocaml_nbdkit_set_extents"
+external set_can_cache : ('a -> cache_flag) -> unit = "ocaml_nbdkit_set_can_cache"
+external set_cache : ('a -> int32 -> int64 -> flags -> unit) -> unit = "ocaml_nbdkit_set_cache"
+
let may f = function None -> () | Some a -> f a
let register_plugin thread_model plugin =
@@ -229,7 +240,10 @@ let register_plugin thread_model plugin =
may set_can_multi_conn plu...
2012 Oct 14
0
[ANNOUNCE] xf86-video-intel 2.20.10
...load data for CopyPlane
https://bugs.freedesktop.org/show_bug.cgi?id=55823
* Fix some render corruption with a UDL slave output and pageflipping
Chris Wilson (54):
sna: Release the front buffer and drop DRM master early during shutdown
sna/dri: Swallow error from GetMSC
sna: set_cacheing returns a bool not an error-code
sna: Make sure the CPU bo is destroyed if we fail to mmap it during alloc
sna/dri: Improve handling of async/sync pageflip transition
sna/dri: Only chain to a triple buffer pageflip sequence
sna: Cache repeated use of the temporary CPU map...
2015 Dec 02
0
[ANNOUNCE] intel-gpu-tools 1.13
A new intel-gpu-tools quarterly release is available with the following changes:
- New test: kms_atomic tests atomic mode setting (Daniel Stone)
- New test: core_prop_blob tests blob properties (Daniel Stone)
- New test: gem_request_retire targets request retirement code paths
(Tvrtko Ursulin)
- New test: core_setmaster_vs_auth checks that drop/setMaster correctly
transfer master state
2019 Aug 23
2
[nbdkit PATCH 3/3] plugins: Add .can_fast_zero hook
...#39;a -> bool) option;
}
let default_callbacks = {
@@ -141,6 +143,8 @@ let default_callbacks = {
cache = None;
thread_model = None;
+
+ can_fast_zero = None;
}
external set_name : string -> unit = "ocaml_nbdkit_set_name" "noalloc"
@@ -186,6 +190,8 @@ external set_cache : ('a -> int32 -> int64 -> flags -> unit) -> unit = "ocaml_nb
external set_thread_model : (unit -> thread_model) -> unit = "ocaml_nbdkit_set_thread_model"
+external set_can_fast_zero : ('a -> bool) -> unit = "ocaml_nbdkit_set_can_fast_zero&q...
2010 Apr 19
1
[PATCH matahari] Removes all code for the previous CPUWrapper class.
...->set_cpunum(cpunum);
- mgmt_object->set_corenum(corenum);
- mgmt_object->set_numcores(numcores);
- mgmt_object->set_model(model);
- mgmt_object->set_family(family);
- mgmt_object->set_cpuid_lvl(cpuid_lvl);
- mgmt_object->set_speed(speed);
- mgmt_object->set_cache(cache);
- mgmt_object->set_vendor(vendor);
- mgmt_object->set_flags(flags);
-}
-
-/**
- * void fillCPUInfo(vector <CPUWrapper*> &cpus, ManagementAgent *agent)
- *
- * Takes in a vector of CPUWrapper object pointers and populates it with
- * CPUs found by querying /proc/cpuinfo...
2016 Jul 15
5
[PATCH 0/3] mllib: Various fixes and changes to Getopt module.
The second patch is obviously not complete yet - for discussion only.
Rich.
2015 Sep 11
0
[ANNOUNCE] intel-gpu-tools 1.12
A new intel-gpu-tools quarterly release is available with the following changes:
- Various new tests and tools
- New statistical analysis functions. (Damien Lespiau)
- New benchmark tests. (Chris Wilson)
- Old register tools that were superseded by intel_reg have been removed.
- Various tests have been marked "basic", to indicate they are suitable for
use in basic acceptance
2016 Jul 18
0
[PATCH v2 2/3] mllib: Use L"..." and S '...' for long and short options.
...k), s_"Attach data disk/ISO during install";
+ [ L"attach-format" ], Getopt.String ("format", set_attach_format),
s_"Set attach disk format";
- [ "--cache" ], Getopt.String ("dir", set_cache), s_"Set template cache dir";
- [ "--no-cache" ], Getopt.Unit no_cache, s_"Disable template cache";
- [ "--cache-all-templates" ], Getopt.Unit cache_all_mode,
+ [ L"cache" ], Getopt.String ("dir", set_cache),...
2016 Jul 18
4
[PATCH v2 0/3] mllib: Various fixes and changes to Getopt module.
v1 -> v2:
- Further fixes to Getopt int parsing.
- Completed the L/S changes.
- Fixed the test suite so it passes now. Also we don't need the
special-case tests for 64 bit arch.
Rich.
2016 Jul 18
3
[PATCH v4 0/2] mllib: Various fixes and changes to Getopt module.
v3 -> v4:
- Pushed the first patch upstream since it was ACKed.
- Prevent use of M except for the special virt-v2v options.
- Sort the options after added --help etc.
- Make corresponding fixes to the tests.
Rich.
2016 Jul 18
4
[PATCH v3 0/3] mllib: Various fixes and changes to Getopt module.
v2 -> v3:
- Add M variant and test it.
Rich.
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
..." ^ s_"Attach data disk/ISO during install";
> - "--attach-format", Arg.String set_attach_format,
> - "format" ^ " " ^ s_"Set attach disk format";
> - "--cache", Arg.String set_cache, "dir" ^ " " ^ s_"Set template cache dir";
> - "--no-cache", Arg.Unit no_cache, " " ^ s_"Disable template cache";
> - "--cache-all-templates", Arg.Unit cache_all_mode,
> -...
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
..." ^ " " ^ s_"Attach data disk/ISO during install";
- "--attach-format", Arg.String set_attach_format,
- "format" ^ " " ^ s_"Set attach disk format";
- "--cache", Arg.String set_cache, "dir" ^ " " ^ s_"Set template cache dir";
- "--no-cache", Arg.Unit no_cache, " " ^ s_"Disable template cache";
- "--cache-all-templates", Arg.Unit cache_all_mode,
- &q...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
..." ^ " " ^ s_"Attach data disk/ISO during install";
- "--attach-format", Arg.String set_attach_format,
- "format" ^ " " ^ s_"Set attach disk format";
- "--cache", Arg.String set_cache, "dir" ^ " " ^ s_"Set template cache dir";
- "--no-cache", Arg.Unit no_cache, " " ^ s_"Disable template cache";
- "--cache-all-templates", Arg.Unit cache_all_mode,
- &q...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
..." ^ " " ^ s_"Attach data disk/ISO during install";
- "--attach-format", Arg.String set_attach_format,
- "format" ^ " " ^ s_"Set attach disk format";
- "--cache", Arg.String set_cache, "dir" ^ " " ^ s_"Set template cache dir";
- "--no-cache", Arg.Unit no_cache, " " ^ s_"Disable template cache";
- "--cache-all-templates", Arg.Unit cache_all_mode,
- &q...
2019 May 16
27
[nbdkit PATCH v2 00/24] implement NBD_CMD_CACHE
Since v1:
- rework .can_cache to be tri-state, with default of no advertisement
(ripple effect through other patches)
- add a lot more patches in order to round out filter support
And in the meantime, Rich pushed NBD_CMD_CACHE support into libnbd, so
in theory we now have a way to test cache commands through the entire
stack.
Eric Blake (24):
server: Internal hooks for implementing
2019 Aug 23
22
cross-project patches: Add NBD Fast Zero support
This is a cover letter to a series of patches being proposed in tandem
to four different projects:
- nbd: Document a new NBD_CMD_FLAG_FAST_ZERO command flag
- qemu: Implement the flag for both clients and server
- libnbd: Implement the flag for clients
- nbdkit: Implement the flag for servers, including the nbd passthrough
client
If you want to test the patches together, I've pushed a
2016 Jul 07
12
[PATCH v3 0/8] v2v: Move Curl wrapper to mllib and more.
v2 -> v3:
- Changes to the Curl API suggested by Pino.
2016 Jul 07
9
[PATCH v2 0/8] v2v: Move Curl wrapper to mllib and use it for virt-builder (and more).
v1 -> v2:
- Fixed the bug with precedence of if / @.
- Add some imperative list operators inspired by Perl, and use those
for constructing the Curl arguments, and more.
Rich.