search for: 7aca8c8

Displaying 2 results from an estimated 2 matches for "7aca8c8".

2019 May 16
0
[nbdkit PATCH v2 08/24] ocaml: Implement .cache script callback
..._extents) SET(extents) +SET(can_cache) +SET(cache) + #undef SET static void @@ -766,6 +814,9 @@ remove_roots (void) REMOVE (can_extents); REMOVE (extents); + REMOVE (can_cache); + REMOVE (cache); + #undef REMOVE } diff --git a/plugins/ocaml/NBDKit.ml b/plugins/ocaml/NBDKit.ml index 7aca8c8..02aa200 100644 --- a/plugins/ocaml/NBDKit.ml +++ b/plugins/ocaml/NBDKit.ml @@ -37,6 +37,8 @@ and flag = May_trim | FUA | Req_one type fua_flag = FuaNone | FuaEmulate | FuaNative +type cache_flag = CacheNone | CacheEmulate | CacheNop + type extent = { offset : int64; length : int64; @@ -8...
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