search for: scmd

Displaying 13 results from an estimated 13 matches for "scmd".

Did you mean: cmd
2020 Apr 23
0
[PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands
...nd that do not have a valid ->device pointer. >> . >> > > (just looking at this again) > > Hi Christoph, > > So how would this look added in scsi_lib.c: > > struct scsi_cmnd *scsi_get_reserved_cmd(struct Scsi_Host *shost) > { > ????struct scsi_cmnd *scmd; > ????struct request *rq; > ????struct scsi_device *sdev = scsi_get_host_dev(shost); > > ????if (!sdev) > ??????? return NULL; > > ????rq = blk_mq_alloc_request(sdev->request_queue, > ????????????????? REQ_OP_DRV_OUT | REQ_NOWAIT, > ????????????????? BLK_MQ_R...
2012 Oct 03
1
OCZ Vertex3 SSD and LSI 9211-8i (mpt2sas)
...607505' which I gather is related to 'trim' aka 'discard'. iostat shows this drive as 100% busy with no activity, and 1 pending operation in the IO queue. every 30 secs or so /var/lkog/messages gets... Oct 3 12:48:42 svfis-sg2 kernel: sd 0:0:22:0: attempting task abort! scmd(ffff88062c893d80) Oct 3 12:48:42 svfis-sg2 kernel: sd 0:0:22:0: [sdu] CDB: Write same(16): 93 08 00 00 00 00 00 00 08 00 00 40 00 00 00 00 Oct 3 12:48:42 svfis-sg2 kernel: scsi target0:0:22: handle(0x001e), sas_address(0x500304800191d8e3), phy(35) Oct 3 12:48:42 svfis-sg2 kernel: scsi target0:...
2020 Mar 11
6
[PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands
On Tue, Mar 10, 2020 at 09:08:56PM +0000, John Garry wrote: > On 10/03/2020 18:32, Christoph Hellwig wrote: > > On Wed, Mar 11, 2020 at 12:25:28AM +0800, John Garry wrote: > > > From: Hannes Reinecke <hare at suse.com> > > > > > > Allocate a separate 'reserved_cmd_q' for sending reserved commands. > > > > Why? Reserved command
2020 Mar 11
6
[PATCH RFC v2 02/24] scsi: allocate separate queue for reserved commands
On Tue, Mar 10, 2020 at 09:08:56PM +0000, John Garry wrote: > On 10/03/2020 18:32, Christoph Hellwig wrote: > > On Wed, Mar 11, 2020 at 12:25:28AM +0800, John Garry wrote: > > > From: Hannes Reinecke <hare at suse.com> > > > > > > Allocate a separate 'reserved_cmd_q' for sending reserved commands. > > > > Why? Reserved command
2020 Mar 11
0
[PATCH RFC v2 12/24] hpsa: use reserved commands
...uct ctlr_info *h, > * this command has completed. Then, check to see if the handler is > * waiting for this command, and, if so, wake it. > */ > - c->scsi_cmd = SCSI_CMD_IDLE; > + if (c->scsi_cmd && c->cmd_type == CMD_IOCTL_PEND) { > + struct scsi_cmnd *scmd = c->scsi_cmd; > + > + scsi_put_reserved_cmd(scmd); > + } > + c->scsi_cmd = NULL; > mb(); /* Declare command idle before checking for pending events. */ > if (dev) { > atomic_dec(&dev->commands_outstanding); > @@ -5502,7 +5503,6 @@ static void hpsa_cmd_i...
2018 Dec 04
3
patch to support custom HTTP headers in download.file() and url()
...description, open, blocking, encoding, method)) +/* op = 0: .Internal( url(description, open, blocking, encoding, method, headers)) op = 1: .Internal(file(description, open, blocking, encoding, method, raw)) */ SEXP attribute_hidden do_url(SEXP call, SEXP op, SEXP args, SEXP env) { - SEXP scmd, sopen, ans, class, enc; + SEXP scmd, sopen, ans, class, enc, headers = R_NilValue, + headers_flat = R_NilValue; char *class2 = "url"; const char *url, *open; int ncon, block, raw = 0, defmeth, @@ -5333,6 +5334,15 @@ SEXP attribute_hidden do_url(SEXP call, SEXP op, SEXP...
2019 May 30
0
[ANNOUNCE] xorg-server 1.20.5
...ent issues. Thanks to all who contributed fixes and testing. Adam Jackson (1): xserver 1.20.5 Michel Dänzer (3): Revert "gitlab-ci: Only run docker-image stage if relevant source files change" xwayland/present: Destroy sync_callback in xwl_present_cleanup present/scmd: Check that the flip and screen pixmap pitches match Olivier Fourdan (2): xwayland: search for a render node to use glamor: pixmap FBO may not be allocated Peter Hutterer (2): xwayland: fix a realloc OOM error case dix: leave last.valuators alone on slave switch Ray Strod...
2006 Sep 18
2
Schedule+ calendar success story
Hello, Maybe interesting for other people googling the web: I have Schedule+ 7.0 working under Wine 20050310 (comes with Debian Sarge). This program is bundeled with all versions of Microsoft Office, (mine comes from Office95) but most of the time hidden on the CD. It can be used as a shared calendar. I copied the directory "Schedule" directly, no setup program. Important is, that you
2019 Nov 23
0
[ANNOUNCE] xorg-server 1.20.6
...glx: Lower gl version to work with libglvnd Matt Roper (1): dri2: Sync i965_pci_ids.h from mesa Matt Turner (3): dix: Assert noPanoramiXExtension is false in PanoramiX code xfree86: Test presence of isastream() xserver 1.20.6 Michel Dänzer (2): Revert "present/scmd: Check that the flip and screen pixmap pitches match" miext/sync: Make struct _SyncObject::initialized fully ABI compatible Olivier Fourdan (7): xwayland: Avoid a crash on pointer enter with a grab xwayland: Check status in GBM pixmap creation glamor: Make pixmap expor...
2020 Sep 09
17
[trivial PATCH] treewide: Convert switch/case fallthrough; to break;
...index 9d0229656681..f2be6feea226 100644 --- a/drivers/scsi/smartpqi/smartpqi_init.c +++ b/drivers/scsi/smartpqi/smartpqi_init.c @@ -2937,7 +2937,7 @@ static int pqi_process_io_intr(struct pqi_ctrl_info *ctrl_info, struct pqi_queue case PQI_RESPONSE_IU_AIO_PATH_IO_SUCCESS: if (io_request->scmd) io_request->scmd->result = 0; - fallthrough; + break; case PQI_RESPONSE_IU_GENERAL_MANAGEMENT: break; case PQI_RESPONSE_IU_VENDOR_GENERAL: diff --git a/drivers/scsi/sr.c b/drivers/scsi/sr.c index 3b3a53c6a0de..1216396284f9 100644 --- a/drivers/scsi/sr.c +++ b/drivers/scsi/...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...queue_unmapped_request(clone); requeued = 1; break; default: diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 386f0c5..f4765eb 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -1594,19 +1594,19 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd) /* * no more retries - report this one back to upper level. */ return SUCCESS; } } static void eh_lock_door_done(struct request *req, int uptodate) { - __blk_put_request(req->q, req); + __blk_put_request(req); } /** * scsi_eh_lock_door - Prevent medium removal for the...
2012 Apr 20
1
[PATCH] multiqueue: a hodge podge of things
...queue_unmapped_request(clone); requeued = 1; break; default: diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c index 386f0c5..f4765eb 100644 --- a/drivers/scsi/scsi_error.c +++ b/drivers/scsi/scsi_error.c @@ -1594,19 +1594,19 @@ int scsi_decide_disposition(struct scsi_cmnd *scmd) /* * no more retries - report this one back to upper level. */ return SUCCESS; } } static void eh_lock_door_done(struct request *req, int uptodate) { - __blk_put_request(req->q, req); + __blk_put_request(req); } /** * scsi_eh_lock_door - Prevent medium removal for the...
2012 Jun 24
0
nouveau _BIOS method
....y..BFFR 1fe0: 14 13 5f 53 54 41 00 a0 0a 93 50 46 4c 56 01 a4 .._STA....PFLV.. 1ff0: 0a 0f a4 00 5b 80 45 43 52 5f 03 00 0a ff 5b 81 ....[.ECR_....[. 2000: 49 0b 45 43 52 5f 11 00 40 0c 53 50 54 52 08 53 I.ECR_.. at .SPTR.S 2010: 53 54 53 08 53 41 44 52 08 53 43 4d 44 08 53 42 STS.SADR.SCMD.SB 2020: 46 52 40 10 53 43 4e 54 08 00 48 21 42 31 45 58 FR at .SCNT..H!B1EX 2030: 01 00 01 41 43 45 58 01 00 05 53 57 42 45 01 44 ...ACEX...SWBE.D 2040: 43 42 45 01 00 06 57 4c 53 54 01 4f 50 53 54 01 CBE...WLST.OPST. 2050: 00 06 4c 49 44 53 01 00 07 42 31 53 54 08 00 08 ..LIDS...B1ST....