svn commit: r292290 - head/sys/cam/ctl
Alexander Motin
mav at FreeBSD.org
Tue Dec 15 21:19:33 UTC 2015
Author: mav
Date: Tue Dec 15 21:19:32 2015
New Revision: 292290
URL: https://svnweb.freebsd.org/changeset/base/292290
Log:
Set DS flag, required for LPB log page by spec.
MFC after: 1 week
Modified:
head/sys/cam/ctl/ctl.c
Modified: head/sys/cam/ctl/ctl.c
==============================================================================
--- head/sys/cam/ctl/ctl.c Tue Dec 15 21:11:41 2015 (r292289)
+++ head/sys/cam/ctl/ctl.c Tue Dec 15 21:19:32 2015 (r292290)
@@ -6868,6 +6868,8 @@ ctl_log_sense(struct ctl_scsiio *ctsio)
header = (struct scsi_log_header *)ctsio->kern_data_ptr;
header->page = page_index->page_code;
+ if (page_index->page_code == SLS_LOGICAL_BLOCK_PROVISIONING)
+ header->page |= SL_DS;
if (page_index->subpage) {
header->page |= SL_SPF;
header->subpage = page_index->subpage;
More information about the svn-src-head
mailing list