Date: Tue, 15 Dec 2015 21:19:32 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292290 - head/sys/cam/ctl Message-ID: <201512152119.tBFLJWYL091216@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512152119.tBFLJWYL091216>