Displaying 20 results from an estimated 60 matches for "max_id".
Did you mean:
max2_id
2006 Jul 18
13
RANDOM
I am pretty much new at this ROR game and had what I think to be a
simple question.
I have a set of Sponsors that I would like to be able to select one at
random and display in the my html. I have already set up the DB,
scaffolded, set index controller and all is working smoothly.
I know that I can display them all by doing
<% for sponsor in @sponsors %>
<%= sponsor.name %>
2012 Jul 11
4
[PATCH] hw/virtio-scsi: Set max_target=0 during vhost-scsi operation
From: Nicholas Bellinger <nab at linux-iscsi.org>
This QEMU patch sets VirtIOSCSIConfig->max_target=0 for vhost-scsi operation
to restrict virtio-scsi LLD guest scanning to max_id=0 (a single target ID
instance) when connected to individual tcm_vhost endpoints as requested by
Paolo.
This ensures that virtio-scsi LLD only attempts to scan target IDs up to
VIRTIO_SCSI_MAX_TARGET when connected via virtio-scsi-raw.
It's currently cut against Zhi's qemu vhost-scsi tree...
2012 Jul 11
4
[PATCH] hw/virtio-scsi: Set max_target=0 during vhost-scsi operation
From: Nicholas Bellinger <nab at linux-iscsi.org>
This QEMU patch sets VirtIOSCSIConfig->max_target=0 for vhost-scsi operation
to restrict virtio-scsi LLD guest scanning to max_id=0 (a single target ID
instance) when connected to individual tcm_vhost endpoints as requested by
Paolo.
This ensures that virtio-scsi LLD only attempts to scan target IDs up to
VIRTIO_SCSI_MAX_TARGET when connected via virtio-scsi-raw.
It's currently cut against Zhi's qemu vhost-scsi tree...
2005 May 22
1
nsswitch not calling winbindd - suse 9.3 64 bit & Samba 3.0.14a
...sr/local/samba/lib/idmap/idmap_rid.so' loaded
rid_idmap_parse: parsing entry: 0
rid_idmap_parse: entry 0 has name: [UK]
rid_idmap_parse: entry 0 has sid:
[S-1-5-21-2025429265-764733703-725345543]
rid_idmap_parse: entry 0 has min_id: [500]
rid_idmap_parse: entry 0 has max_id: [500000]
rid_idmap_init: using 1 mappings:
rid_idmap_init: domain: [UK], sid:
[S-1-5-21-2025429265-764733703-725345543], min_id: [500], max_id: [500000]
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
Added domain UK UK.******.PLC S-0-0
cm_get_ipc_userpass: No auth-us...
2011 Sep 01
4
[PATCH 1/1] staging: hv: Add support for >2 TB LUN in storage driver.
...struct hv_storvsc_request;
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
index 7effaf3..26983ac 100644
--- a/drivers/staging/hv/storvsc_drv.c
+++ b/drivers/staging/hv/storvsc_drv.c
@@ -701,6 +701,8 @@ static int storvsc_probe(struct hv_device *device)
host->max_id = STORVSC_MAX_TARGETS;
/* max # of channels */
host->max_channel = STORVSC_MAX_CHANNELS - 1;
+ /* max cmd length */
+ host->max_cmd_len = STORVSC_MAX_CMD_LEN;
/* Register the HBA and start the scsi bus scan */
ret = scsi_add_host(host, &device->device);
--
1.7.1
2011 Sep 01
4
[PATCH 1/1] staging: hv: Add support for >2 TB LUN in storage driver.
...struct hv_storvsc_request;
diff --git a/drivers/staging/hv/storvsc_drv.c b/drivers/staging/hv/storvsc_drv.c
index 7effaf3..26983ac 100644
--- a/drivers/staging/hv/storvsc_drv.c
+++ b/drivers/staging/hv/storvsc_drv.c
@@ -701,6 +701,8 @@ static int storvsc_probe(struct hv_device *device)
host->max_id = STORVSC_MAX_TARGETS;
/* max # of channels */
host->max_channel = STORVSC_MAX_CHANNELS - 1;
+ /* max cmd length */
+ host->max_cmd_len = STORVSC_MAX_CMD_LEN;
/* Register the HBA and start the scsi bus scan */
ret = scsi_add_host(host, &device->device);
--
1.7.1
2008 Sep 03
4
delta index in Sphinx
...= Sphinx.new
=> #<Sphinx:0xb6f7fe20 @mode=0, @host="localhost", @groupby="",
@port=3312, @min_id=0, @warning="", @error="", @max={}, @weights=[],
@sortby="", @maxmatches=1000, @min={}, @filter={}, @sort=0, @limit=20,
@offset=0, @groupfunc=0, @max_id=4294967295>
>> @sphinx.set_match_mode(Sphinx::SPH_MATCH_ANY)
=> 1
>> @result = @sphinx.query(''test'')
=> {:time=>"0.000", :matches=>{}, :total=>0, :attrs=>{:e_mail=>3},
:words=>{"test"=>{:docs=>0, :hits=>0}}, :fi...
2020 Mar 10
2
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
On Wed, Mar 11, 2020 at 12:25:27AM +0800, John Garry wrote:
> From: Hannes Reinecke <hare at suse.com>
>
> Add a new field 'nr_reserved_cmds' to the SCSI host template to
> instruct the block layer to set aside a tag space for reserved
> commands.
>
> Signed-off-by: Hannes Reinecke <hare at suse.com>
> ---
> drivers/scsi/scsi_lib.c | 1 +
>
2020 Mar 10
2
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
On Wed, Mar 11, 2020 at 12:25:27AM +0800, John Garry wrote:
> From: Hannes Reinecke <hare at suse.com>
>
> Add a new field 'nr_reserved_cmds' to the SCSI host template to
> instruct the block layer to set aside a tag space for reserved
> commands.
>
> Signed-off-by: Hannes Reinecke <hare at suse.com>
> ---
> drivers/scsi/scsi_lib.c | 1 +
>
2020 Sep 03
2
SID mapping: Samba and SSSD
On 03/09/2020 20:01, Andrew Walker wrote:
> Whoops, fumbled my response a bit. slice size by default is 200,000,
> and to clarify the SID passed into murmur3() is the domain SID, not
> SID?of individual user. Though, manpage for sssd-ad should be
> consulted for precise details. My understanding though is as long as
> everything fits in one slice, then you can just use RID. If
2012 Jun 03
1
need to load uhci_hcd with acpi=off
...5.356702] devtmpfs: initialized
[ 5.359462] Grant table initialized
[ 5.359464] regulator: core version 0.5
[ 5.359505] NET: Registered protocol family 16
[ 5.359544] alloc irq_desc for 563 on node -1
[ 5.359545] alloc kstat_irqs on node -1
[ 5.359642] sync cpu 0 get result 1 max_id b
[ 5.359648] sync cpu 1 get result 1 max_id b
[ 5.359653] sync cpu 2 get result 1 max_id b
[ 5.359659] sync cpu 3 get result 1 max_id b
[ 5.359665] sync cpu 4 get result 1 max_id b
[ 5.359671] sync cpu 5 get result 1 max_id b
[ 5.359678] sync cpu 6 get result 1 max_id b
[ 5.35...
2020 Mar 11
0
[PATCH RFC v2 12/24] hpsa: use reserved commands
...sizeof(*c->err_info));
> c->h = h;
> - c->scsi_cmd = SCSI_CMD_IDLE;
> }
>
> static void hpsa_preinitialize_commands(struct ctlr_info *h)
> @@ -5803,6 +5803,7 @@ static int hpsa_scsi_host_alloc(struct ctlr_info *h)
> sh->max_lun = HPSA_MAX_LUN;
> sh->max_id = HPSA_MAX_LUN;
> sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS;
> + sh->nr_reserved_cmds = HPSA_NRESERVED_CMDS;
Now .nr_reserved_cmds has been passed to blk-mq, you need to increase
sh->can_queue to h->nr_cmds, because .can_queue is the whole queue depth
(include the par...
2020 Sep 03
0
SID mapping: Samba and SSSD
...{
uint32_t id;
if (rid >= range_params->first_rid
&& ((UINT32_MAX - range_params->min_id) >
(rid - range_params->first_rid))) {
id = range_params->min_id + (rid - range_params->first_rid);
if (id <= range_params->max_id) {
*_id = id;
return true;
}
}
return false;
}
```
So pretty easy fit with idmap_rid if the domain's highest RID is <
slice_size in SSSD. So it might be helpful for people to at least try "id
DOMAIN\\administrator" on Linux client with SSSD j...
2020 Mar 11
0
[PATCH RFC v2 01/24] scsi: add 'nr_reserved_cmds' field to the SCSI host template
..., sizeof(h));
if (sh == NULL) {
dev_err(&h->pdev->dev, "scsi_host_alloc failed\n");
return -ENOMEM;
}
sh->io_port = 0;
sh->n_io_port = 0;
sh->this_id = -1;
sh->max_channel = 3;
sh->max_cmd_len = MAX_COMMAND_SIZE;
sh->max_lun = HPSA_MAX_LUN;
sh->max_id = HPSA_MAX_LUN;
sh->can_queue = h->nr_cmds - HPSA_NRESERVED_CMDS;
sh->cmd_per_lun = sh->can_queue;
So the idea of this patchset is to convert existing use-cases; seeing
that they already reserve commands internally performance will not be
affected.
Cheers,
Hannes
--
Dr. Hannes Rei...
2013 Mar 20
7
[PATCH V6 0/5] virtio-scsi multiqueue
This series implements virtio-scsi queue steering, which gives
performance improvements of up to 50% (measured both with QEMU and
tcm_vhost backends).
This version rebased on Rusty's virtio ring rework patches, which
has already gone into virtio-next today.
We hope this can go into virtio-next together with the virtio ring
rework pathes.
V6: rework "redo allocation of target data"
2013 Mar 20
7
[PATCH V6 0/5] virtio-scsi multiqueue
This series implements virtio-scsi queue steering, which gives
performance improvements of up to 50% (measured both with QEMU and
tcm_vhost backends).
This version rebased on Rusty's virtio ring rework patches, which
has already gone into virtio-next today.
We hope this can go into virtio-next together with the virtio ring
rework pathes.
V6: rework "redo allocation of target data"
2010 Nov 16
0
Bug#603727: xen-hypervisor-4.0-amd64: i386 Dom0 crashes after doing some I/O on local storage (software Raid1 on SAS-drives with mpt2sas driver)
...1
[ 36.030765] initcall pnp_init+0x0/0xa returned 0 after 0 usecs
[ 36.036653] calling __setup_shutdown_event+0x0/0x22 @ 1
[ 36.042027] initcall __setup_shutdown_event+0x0/0x22 returned 0 after 0 usecs
[ 36.049219] calling xen_pcpu_init+0x0/0x8e @ 1
[ 36.053831] sync cpu 0 get result 1 max_id b
[ 36.058157] sync cpu 1 get result 1 max_id b
[ 36.062491] sync cpu 2 get result 1 max_id b
[ 36.066823] sync cpu 3 get result 1 max_id b
[ 36.071157] sync cpu 4 get result 1 max_id b
[ 36.075491] sync cpu 5 get result 1 max_id b
[ 36.079823] sync cpu 6 get result 1 max_id b
[ 36.08...
2012 Jul 26
4
[PATCH 0/2] virtio-scsi fixes for 3.6
James,
patch 1 fixes scanning of LUNs whose number is greater than 255. QEMU
passes a max_lun of 16383 (because it uses SAM numbering) but in Linux
it must become 32768 (because LUNs above 255 are "relocated" to 16640).
Patch 2 is a resubmission of the patch for online resizing of virtio-scsi
LUNs, which needs to be rebased.
LUNs above 255 now work for all of scanning, hotplug,
2012 Jul 26
4
[PATCH 0/2] virtio-scsi fixes for 3.6
James,
patch 1 fixes scanning of LUNs whose number is greater than 255. QEMU
passes a max_lun of 16383 (because it uses SAM numbering) but in Linux
it must become 32768 (because LUNs above 255 are "relocated" to 16640).
Patch 2 is a resubmission of the patch for online resizing of virtio-scsi
LUNs, which needs to be rebased.
LUNs above 255 now work for all of scanning, hotplug,
2011 Mar 08
6
[PATCH v1 0/6] btrfs: scrub
This series adds an initial implementation for scrub. It works quite
straightforward. The usermode issues an ioctl for each device in the
fs. For each device, it enumerates the allocated device chunks. For
each chunk, the contained extents are enumerated and the data checksums
fetched. The extents are read sequentially and the checksums verified.
If an error occurs (checksum or EIO), a good copy