Displaying 13 results from an estimated 13 matches for "cache_flags".
2019 May 16
0
[nbdkit PATCH v2 08/24] ocaml: Implement .cache script callback
This was a bit harder than sh, but still a lot of copy-and-paste.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
Note: I'm not sure how to actually test this beyond compilation.
---
plugins/ocaml/ocaml.c | 51 ++++++++++++++++++++++++++++++++++++++++
plugins/ocaml/NBDKit.ml | 16 ++++++++++++-
plugins/ocaml/NBDKit.mli | 5 ++++
3 files changed, 71 insertions(+), 1 deletion(-)
2019 Aug 15
2
[nbdkit PATCH] ocaml: Add support for dynamic .thread_model
We do not promise API stability for non-C languages; this is an API
break as follows: instead of calling 'NBDKit.register_plugin model
plugin' with a static model, you can now add .thread_model :(unit ->
thread_model) to plugin or default to PARALLEL.
Since all existing OCaml plugins will have already thought about
thread models, they can convert their existing model into the new
2020 Sep 01
0
[nbdkit PATCH 2/2] ocaml: Implement .list_exports and friends
Fairly straightforward. I'd love for type export to be a bit more
flexible to make description optional, but could not figure out how to
decode that from the C side of things, so for now this just requires
the caller to supply a description for all exports during
.list_exports.
Signed-off-by: Eric Blake <eblake at redhat.com>
---
plugins/ocaml/NBDKit.mli | 9 ++++
2020 Sep 21
0
[nbdkit PATCH v3 14/14] ocaml: Implement .list_exports and friends
Fairly straightforward. A user can supply { "name"; None } or {
"name"; Some "description" } as desired.
Signed-off-by: Eric Blake <eblake@redhat.com>
---
plugins/ocaml/NBDKit.mli | 9 ++++
plugins/ocaml/NBDKit.ml | 17 ++++++++
plugins/ocaml/example.ml | 33 +++++++++-----
plugins/ocaml/ocaml.c | 92 +++++++++++++++++++++++++++++++++++++++-
4 files
2005 Aug 22
0
Segfault in imap
...ze = 2856, sent_date = {time = -1, timezone = 0}, parse_line = {
field_idx = 0, start_pos = 0, end_pos = 0, line_num = 0, cache = 0},
parse_line_num = 0, parts = 0x0, envelope = 0x0, body = 0x0,
bodystructure = 0x0, uid_string = 0x0, envelope_data = 0x0, seq = 11473,
rec = 0xb7de7088, cache_flags = 0, access_part = 3, stream = 0x80cc224,
filter_stream = 0x0, hdr_size = {physical_size = 2545, virtual_size = 2545,
lines = 57}, body_size = {physical_size = 311, virtual_size = 325,
lines = 14}, parser_ctx = 0x0, parsing_count = 0, keywords = {
buffer = 0x0, element_size = 0},...
2020 Sep 01
4
[nbdkit PATCH 0/2] More language bindings for .list_exports
This picks up python and ocaml. Some of our languages are lacking a
number of bindings (for example, lua and perl lack .extents, so I
didn't have anything to copy from), and I felt less comfortable with
golang and rust. But for python and ocaml, I was able to test a
working implementation.
Eric Blake (2):
python: Implement .list_exports and friends
ocaml: Implement .list_exports and
2006 Jan 31
1
beta2: strange assert
...ustomerservice\" \"studentuniverse.com\")) ((NIL NIL \"customerservice\" \"studentuniverse.com\")) ((NIL NIL \"customerservice\" \"s"..., body = 0x0, bodystructure = 0x0, uid_string = 0x0,
envelope_data = 0xc05d0, seq = 4, rec = 0xff110140, cache_flags = 20,
access_part = 3, stream = 0xcc210, filter_stream = 0xce220, hdr_size = {
physical_size = 52, virtual_size = 52, lines = 1}, body_size = {
physical_size = 34410, virtual_size = 34990, lines = 580},
parser_ctx = 0xbd398, parsing_count = 0, keywords = {buffer = 0xc0910,...
2005 Jun 04
0
Crash and Assertion Error
...= {time = -1, timezone = 0}, parse_line = {
field_idx = 4294967295, start_pos = 67, end_pos = 118, line_num = 29,
cache = 1}, parse_line_num = 53, parts = 0x80cb018, envelope = 0x0,
body = 0x0, bodystructure = 0x0, uid_string = 0x0, envelope_data = 0x0,
seq = 9276, rec = 0xb7dd3854, cache_flags = 0, stream = 0x80f53c4,
filter_stream = 0x0, hdr_size = {physical_size = 2347, virtual_size = 2347,
lines = 52}, body_size = {physical_size = 374, virtual_size = 388,
lines = 14}, parser_ctx = 0x0, parsing_count = 0, keywords = {
buffer = 0x0, element_size = 0}, parse_header = 0,...
2012 May 25
0
[PATCH 3/3] gnttab: cleanup
...only,
+ if ( (rc = _set_status(rgt->gt_version, ld->domain_id,
+ op->flags & GNTMAP_readonly,
1, shah, act, status) ) != GNTST_okay )
goto unlock_out;
@@ -606,7 +608,7 @@ __gnttab_map_grant_ref(
cache_flags = (shah->flags & (GTF_PAT | GTF_PWT | GTF_PCD) );
- spin_unlock(&rd->grant_table->lock);
+ spin_unlock(&rgt->lock);
/* pg may be set, with a refcount included, from __get_paged_frame */
if ( !pg )
@@ -679,7 +681,7 @@ __gnttab_map_grant_ref(
goto...
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
2020 Sep 21
18
[nbdkit PATCH v3 00/14] exportname filter
It's been several weeks since I posted v2 (I got distracted by
improving libnbd to better test things, which in turn surfaced some
major memory leak problems in nbdsh that are now fixed). Many of the
patches are minor rebases from v2, with the biggest changes being
fallout from:
- patch 2: rename nbdkit_add_default_export to nbdkit_use_default_export
- overall: this missed 1.22, so update
2012 Jan 09
39
[PATCH v4 00/25] xen: ARMv7 with virtualization extensions
Hello everyone,
this is the fourth version of the patch series that introduces ARMv7
with virtualization extensions support in Xen.
The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile
Express simulator.
See the following announce email for more informations about what we
are trying to achieve, as well as the original git history:
See
2011 Dec 06
57
[PATCH RFC 00/25] xen: ARMv7 with virtualization extensions
Hello everyone,
this is the very first version of the patch series that introduces ARMv7
with virtualization extensions support in Xen.
The series allows Xen and Dom0 to boot on a Cortex-A15 based Versatile
Express simulator.
See the following announce email for more informations about what we
are trying to achieve, as well as the original git history:
See