Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Dec 2015 09:02:52 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r292590 - stable/10/sys/cam/ctl
Message-ID:  <201512220902.tBM92qju032818@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue Dec 22 09:02:51 2015
New Revision: 292590
URL: https://svnweb.freebsd.org/changeset/base/292590

Log:
  MFC r292290: Set DS flag, required for LPB log page by spec.

Modified:
  stable/10/sys/cam/ctl/ctl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/ctl/ctl.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl.c	Tue Dec 22 08:08:41 2015	(r292589)
+++ stable/10/sys/cam/ctl/ctl.c	Tue Dec 22 09:02:51 2015	(r292590)
@@ -6870,6 +6870,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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512220902.tBM92qju032818>