[Bug 202625] [cam][libcam][patch] PERSISTENT RESERVE OUT needs scsi_cmd->length to be populated

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jun 28 18:38:18 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202625

--- Comment #9 from Sean Bruno <sbruno at FreeBSD.org> ---
After speaking with Ken in email, I propose this based on his direction:

 % svn diff
Index: sys/cam/scsi/scsi_all.c
===================================================================
--- sys/cam/scsi/scsi_all.c     (revision 302254)
+++ sys/cam/scsi/scsi_all.c     (working copy)
@@ -8788,6 +8788,7 @@
        scsi_cmd->opcode = PERSISTENT_RES_OUT;
        scsi_cmd->action = service_action;
        scsi_cmd->scope_type = scope | res_type;
+       scsi_ulto4b(dxfer_len, scsi_cmd->length);

        cam_fill_csio(csio,
                      retries,

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-scsi mailing list