Displaying 7 results from an estimated 7 matches for "746,14".
Did you mean:
146,14
2020 Aug 03
0
[PATCH v2 16/24] virtio_scsi: correct tags for config space fields
...4 ++--
include/uapi/linux/virtio_scsi.h | 20 ++++++++++----------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c
index 0e0910c5b942..c36aeb9a1330 100644
--- a/drivers/scsi/virtio_scsi.c
+++ b/drivers/scsi/virtio_scsi.c
@@ -746,14 +746,14 @@ static struct scsi_host_template virtscsi_host_template = {
#define virtscsi_config_get(vdev, fld) \
({ \
- typeof(((struct virtio_scsi_config *)0)->fld) __val; \
+ __virtio_native_type(struct virtio_scsi_config, fld) __val; \
virtio_cread(vdev, struct virtio_scsi_config,...
2020 Aug 05
0
[PATCH v3 16/38] virtio_scsi: correct tags for config space fields
...4 ++--
include/uapi/linux/virtio_scsi.h | 20 ++++++++++----------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c
index 0e0910c5b942..c36aeb9a1330 100644
--- a/drivers/scsi/virtio_scsi.c
+++ b/drivers/scsi/virtio_scsi.c
@@ -746,14 +746,14 @@ static struct scsi_host_template virtscsi_host_template = {
#define virtscsi_config_get(vdev, fld) \
({ \
- typeof(((struct virtio_scsi_config *)0)->fld) __val; \
+ __virtio_native_type(struct virtio_scsi_config, fld) __val; \
virtio_cread(vdev, struct virtio_scsi_config,...
2020 Aug 06
5
[PATCH nbdkit NOT WORKING 0/2] vddk: Relax threading model.
I believe this roughly implements Nir's proposal here:
https://www.redhat.com/archives/libguestfs/2020-August/msg00028.html
Unfortunately it doesn't work for me. It actually slows things down
quite a lot, for reasons I don't understand. Note the adjustment of
the pool-max parameter and how it affects the total time. The results
are quite reproducible.
$ ./nbdkit -r -U - vddk
2020 Aug 06
0
[PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...DEBUG_CALL ("VixDiskLib_Disconnect", "connection");
VixDiskLib_Disconnect (h->connection);
free_connect_params (h->params);
+ pthread_cond_destroy (&h->vddk_handles_cond);
+ pthread_mutex_destroy (&h->vddk_handles_lock);
free (h);
}
@@ -639,13 +746,14 @@ vddk_close (void *handle)
static int64_t
vddk_get_size (void *handle)
{
- struct vddk_handle *h = handle;
+ struct handle *h = handle;
+ GET_VDDK_HANDLE_FOR_CURRENT_SCOPE (h, vddk_handle);
VixDiskLibInfo *info;
VixError err;
uint64_t size;
DEBUG_CALL ("VixDiskLib_GetI...
2020 Aug 06
3
Re: [PATCH nbdkit 2/2] vddk: Relax thread model to PARALLEL and implement a disk handle pool.
...ct", "connection");
> VixDiskLib_Disconnect (h->connection);
> free_connect_params (h->params);
> + pthread_cond_destroy (&h->vddk_handles_cond);
> + pthread_mutex_destroy (&h->vddk_handles_lock);
> free (h);
> }
>
> @@ -639,13 +746,14 @@ vddk_close (void *handle)
> static int64_t
> vddk_get_size (void *handle)
> {
> - struct vddk_handle *h = handle;
> + struct handle *h = handle;
> + GET_VDDK_HANDLE_FOR_CURRENT_SCOPE (h, vddk_handle);
> VixDiskLibInfo *info;
> VixError err;
> uint64_t...
2020 Aug 03
51
[PATCH v2 00/24] virtio: config space endian-ness cleanup
Config space endian-ness is currently a mess: fields are
not tagged with the correct endian-ness so it's easy
to make mistakes like instanciating config space in
native endian-ness.
The following patches adding sparse tagging are currently in my tree.
Lightly tested.
As a follow-up, I plan to add new APIs that handle modern config space
in a more efficient way (bypassing the version check).
2006 Jan 21
2
snmp-ups hacking
Hi all!
I'm wondering if there's anyone doing any hacking on the snmp-ups
driver at the moment.
I've started looking at implementing 3phase-support, and this
uncovered some rather unpleasant stuff in the snmp-ups driver that I
really need to fix in order to get things sane.
Those of you that's allergic to SNMP might want to stop reading now,
this is rather icky ;)