similar to: [libnbd PATCH v2 0/2] continue wrapping generated C code harder

Displaying 20 results from an estimated 100 matches similar to: "[libnbd PATCH v2 0/2] continue wrapping generated C code harder"

2023 May 02
1
[libnbd PATCH v2 2/2] generator/C: lib/api.c: indent arg list 2 spaces relative to function name
Do the same as commit 0744f748ed90 ("generator: indent C argument list 2 spaces relative to function designator", 2023-04-21), except this time not for the header files, but for "lib/api.c". The most impactful resultant change is [lib/api.c]: > @@ -5378,9 +5577,11 @@ aio_opt_list_meta_context_queries_in_per > } > > int > -nbd_aio_opt_list_meta_context_queries
2008 Jun 24
4
Problem Compiling 1.1.1 on AIX
Hi all, We've been running Dovecot since December '07 with with no glitches. It's a great solid piece of software, thanks so much Timo!! I thought I'd try out 1.1.1, so I brought it down and tried compiling it on AIX, using the IBM compiler, xlc. It's what I've used all along. The error I'm seeing on the make is: source='array.c'
2019 Jun 08
4
[PATCH libnbd v3] lib: Atomically update h->state when leaving the locked region.
v1 was here: https://www.redhat.com/archives/libguestfs/2019-June/thread.html#00055 v2 was here: https://www.redhat.com/archives/libguestfs/2019-June/thread.html#00067 v3: - Fix atomicly -> atomically in commit message. - Fix a comment. - Fix TOCTTOU: There is now an inline function generated called <name>_is_permitted_state, and this is called twice, first outside the
2019 Aug 09
4
[PATCH libnbd 0/2] generator: Preparatory changes to the generator.
These are some simplifications to the generator. They don't probably make much sense on their own, but they are preparatory to better handling of enums, and or'd lists of flags. Rich.
2020 Mar 17
0
[PATCH libnbd v2 3/3] golang: Add straightforward bindings, without callbacks.
--- generator/GoLang.ml | 336 +++++++++++++++++- .../libnbd/libnbd_200_connect_command_test.go | 35 ++ 2 files changed, 367 insertions(+), 4 deletions(-) diff --git a/generator/GoLang.ml b/generator/GoLang.ml index 1b8f20b..e5fb97c 100644 --- a/generator/GoLang.ml +++ b/generator/GoLang.ml @@ -23,6 +23,304 @@ open Printf open API open Utils +let go_name_of_arg =
2020 Mar 24
1
[PATCH libnbd v3] Add Go language bindings (golang) (RHBZ#1814538).
This feature is roughly finished now, although it needs a few more tests and some examples. It's pretty much up to par with all the other bindings, but it lacks a completely safe AIO buffer. It won't stop you from freeing the buffer too early) because golang's GC inexplicably lacks a way to declare a root from C. I can probably do it with a global variable and ref counting on the
2020 Mar 17
5
[PATCH libnbd v2 0/3] Unfinished golang bindings.
These bindings get as far as running very simple connections. However there are many missing parts still: * No callbacks. * No functions which handle buffers (pread/pwrite!) This is posted just for general early interest, not even for review. Rich.
2020 Mar 25
3
[PATCH libnbd v4] Add Go language bindings (golang) (RHBZ#1814538).
Now runs a complete set of tests, notably including the AIO test. File descriptors are passed in and out as plain ints (instead of *os.File) for a couple of reasons: (1) We have to pass the plain int to syscall.Select. (2) Turning an fd into an os.File causes golang to set the blocking flag which is deeply unhelpful. Rich.
2019 Aug 09
0
[PATCH libnbd 2/2] generator: Change handling of Flags to be a true optional argument.
In libguestfs generator we have the concept of optargs which is different from plain arguments. These are mapped to optional arguments in languages that support them such as Python. This commit adds a new concept of optargs. At the moment it is simply limited to handling the optional (in some bindings) flags parameter which is used to handle the NBD_CMD_FLAG_* flags. If present, the old Flags
2019 Aug 14
4
[PATCH libnbd 0/2] Use free callback to dereference NBD.Buffer.
In this patch series we use the newly introduced free callback on the completion function to dererence the OCaml NBD.Buffer. I will make the same kind of change for Python later in a separate series. The completion function is always called at the C level, even if the OCaml program didn't use the optional argument. That's because the free callback doesn't run otherwise. There is a
2013 Jun 30
1
locks under printf(9) and WITNESS = panic?
when booting stable/9 under a debug kernel with WITNESS enabled and verbose I get the following panic.. It seems very much like the discussion from a year back on current: http://lists.freebsd.org/pipermail/freebsd-current/2012-January/031375.html Any ideas? uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 uhub0: 2 ports with 2 removable, self powered uhub1: 2
2008 Apr 06
1
[Bug 15374] New: Selecting team in pinch-hitter became much harder
http://bugs.freedesktop.org/show_bug.cgi?id=15374 Summary: Selecting team in pinch-hitter became much harder Product: swfdec Version: git Platform: x86-64 (AMD64) URL: http://www.break.com/games/pinch-hitter.html OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium
2009 Mar 27
0
[PATCH] lguest: barrier me harder
Impact: barrier correctness in example launcher I doubt either lguest user will complain about performance. Reported-by: Christoph Hellwig <hch at infradead.org> Cc: Jens Axboe <jens.axboe at oracle.com> Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c --- a/Documentation/lguest/lguest.c +++
2009 Mar 27
0
[PATCH] lguest: barrier me harder
Impact: barrier correctness in example launcher I doubt either lguest user will complain about performance. Reported-by: Christoph Hellwig <hch at infradead.org> Cc: Jens Axboe <jens.axboe at oracle.com> Signed-off-by: Rusty Russell <rusty at rustcorp.com.au> diff --git a/Documentation/lguest/lguest.c b/Documentation/lguest/lguest.c --- a/Documentation/lguest/lguest.c +++
2011 Feb 22
0
Work hard, Play harder at 2011 Nightclub & Bar Convention in
Hi everyone! I?m working on behalf of the Nightclub & Bar 2011 Convention and Trade Show to get the word out about America?s biggest and most important bar, nightclub and beverage event of the year! I hope it?s ok I?m posting this? Now in its 26th year, NCB is hitting Las Vegas March 7-9, 2011. Work hard and play harder with more than 28,000 industry professionals for networking, education
2016 Jan 06
0
[klibc:master] dash: mkbuiltins: Fix sort order harder
Commit-ID: 5125a8b74971fc22fdc74cfc9dc8e04a4f5c0e4b Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5125a8b74971fc22fdc74cfc9dc8e04a4f5c0e4b Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Wed, 6 Jan 2016 01:20:02 +0000 Committer: H. Peter Anvin <hpa at linux.intel.com> CommitDate: Tue, 5 Jan 2016 17:50:50 -0800 [klibc] dash: mkbuiltins: Fix sort
2019 Jan 25
0
[klibc:update-dash] Revert " dash: mkbuiltins: Fix sort order harder"
Commit-ID: 3c92107fcc57634d918ec844213a0b9267cac0cf Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=3c92107fcc57634d918ec844213a0b9267cac0cf Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Fri, 25 Jan 2019 01:34:43 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 25 Jan 2019 02:57:21 +0000 Revert "[klibc] dash:
2020 Mar 28
0
[klibc:update-dash] Revert " dash: mkbuiltins: Fix sort order harder"
Commit-ID: 67295677e7f4b89f55c484b44735728ea610edf4 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=67295677e7f4b89f55c484b44735728ea610edf4 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Fri, 25 Jan 2019 01:34:43 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 20:29:44 +0000 Revert "[klibc] dash:
2016 Aug 31
0
[PATCH] tests: use /etc/os-release in test-harder
Check the ID in /etc/os-release before checking the other release files, so it's possible to handle distros without them. Also, make sure it is skipped if the value read from os-release is not handled when getting the list of packages. --- tests/test-harder.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/tests/test-harder.sh b/tests/test-harder.sh index
2018 Aug 08
0
Re: [PATCH nbdkit] python: Try harder to print the full traceback on error.
On Wed, Aug 8, 2018 at 6:17 PM Richard W.M. Jones <rjones@redhat.com> wrote: > On Wed, Aug 08, 2018 at 06:08:45PM +0300, Nir Soffer wrote: > > Can we simplify this these 2 calls? > > > > nbdkit_error ("%s: %s: error", script, callback); > > PyErr_PrintEx (0); > > No, we want to ensure errors go through the nbdkit_error function so > that