aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl_error.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2016-12-19 19:00:03 +0000
committerAlexander Motin <mav@FreeBSD.org>2016-12-19 19:00:03 +0000
commit32920cbfa3bcf51005dffea85ae712c82836ee0e (patch)
treebadf3bc0191134b9c431e753463ac5f30a486429 /sys/cam/ctl/ctl_error.h
parentb9985489dddc84588546070395973682f332a6b1 (diff)
downloadsrc-32920cbfa3bcf51005dffea85ae712c82836ee0e.tar.gz
src-32920cbfa3bcf51005dffea85ae712c82836ee0e.zip
When reporting "Logical block address out of range" error, report the LBA
in sense data INFORMATION field. MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=310285
Diffstat (limited to 'sys/cam/ctl/ctl_error.h')
-rw-r--r--sys/cam/ctl/ctl_error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_error.h b/sys/cam/ctl/ctl_error.h
index 98706438e567..192228977896 100644
--- a/sys/cam/ctl/ctl_error.h
+++ b/sys/cam/ctl/ctl_error.h
@@ -76,7 +76,7 @@ void ctl_set_internal_failure(struct ctl_scsiio *ctsio, int sks_valid,
uint16_t retry_count);
void ctl_set_medium_error(struct ctl_scsiio *ctsio, int read);
void ctl_set_aborted(struct ctl_scsiio *ctsio);
-void ctl_set_lba_out_of_range(struct ctl_scsiio *ctsio);
+void ctl_set_lba_out_of_range(struct ctl_scsiio *ctsio, uint64_t lba);
void ctl_set_lun_stopped(struct ctl_scsiio *ctsio);
void ctl_set_lun_int_reqd(struct ctl_scsiio *ctsio);
void ctl_set_lun_ejected(struct ctl_scsiio *ctsio);