Date: Tue, 28 Jun 2016 18:38:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-scsi@FreeBSD.org Subject: [Bug 202625] [cam][libcam][patch] PERSISTENT RESERVE OUT needs scsi_cmd->length to be populated Message-ID: <bug-202625-5312-eeb7rUEQsT@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-202625-5312@https.bugs.freebsd.org/bugzilla/> References: <bug-202625-5312@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D202625 --- Comment #9 from Sean Bruno <sbruno@FreeBSD.org> --- After speaking with Ken in email, I propose this based on his direction: % svn diff Index: sys/cam/scsi/scsi_all.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/cam/scsi/scsi_all.c (revision 302254) +++ sys/cam/scsi/scsi_all.c (working copy) @@ -8788,6 +8788,7 @@ scsi_cmd->opcode =3D PERSISTENT_RES_OUT; scsi_cmd->action =3D service_action; scsi_cmd->scope_type =3D scope | res_type; + scsi_ulto4b(dxfer_len, scsi_cmd->length); cam_fill_csio(csio, retries, --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202625-5312-eeb7rUEQsT>