Author: mav
Date: Mon Oct  5 09:03:50 2015
New Revision: 288739
URL: https://svnweb.freebsd.org/changeset/base/288739

Log:
  MFC r287714: Report that we have no limit on POPULATE TOKEN segment size.

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

Modified: stable/10/sys/cam/ctl/ctl_tpc.c
==============================================================================
--- stable/10/sys/cam/ctl/ctl_tpc.c     Mon Oct  5 09:03:00 2015        
(r288738)
+++ stable/10/sys/cam/ctl/ctl_tpc.c     Mon Oct  5 09:03:50 2015        
(r288739)
@@ -394,8 +394,7 @@ ctl_inquiry_evpd_tpc(struct ctl_scsiio *
        scsi_ulto2b(0, rtfb_ptr->optimal_length_granularity);
        scsi_u64to8b(0, rtfb_ptr->maximum_bytes);
        scsi_u64to8b(0, rtfb_ptr->optimal_bytes);
-       scsi_u64to8b(TPC_MAX_IOCHUNK_SIZE,
-           rtfb_ptr->optimal_bytes_to_token_per_segment);
+       scsi_u64to8b(UINT64_MAX, rtfb_ptr->optimal_bytes_to_token_per_segment);
        scsi_u64to8b(TPC_MAX_IOCHUNK_SIZE,
            rtfb_ptr->optimal_bytes_from_token_per_segment);
 
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to