aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2015-09-18 19:43:14 +0000
committerAlexander Motin <mav@FreeBSD.org>2015-09-18 19:43:14 +0000
commit75a3108e139056c8fbe7f83d6b54ef3aab9b23e7 (patch)
tree93630f690938da62b7b9a4a12a6c197125b27a47 /sys/cam/ctl/ctl.h
parent621ce7a5a6ddb92b79993db1233b7733dc36c6d9 (diff)
downloadsrc-75a3108e139056c8fbe7f83d6b54ef3aab9b23e7.tar.gz
src-75a3108e139056c8fbe7f83d6b54ef3aab9b23e7.zip
Relax serseq option operation for reads.
Previously, with serseq enabled, next command was unblocked only after previous completed. With this change, for read operations, next command is unblocked as soon as last media read completed. This is important for frontends that actually wait for data move completion (like camtgt), or when data are moved through the HA link, or especially when both.
Notes
Notes: svn path=/head/; revision=287967
Diffstat (limited to 'sys/cam/ctl/ctl.h')
-rw-r--r--sys/cam/ctl/ctl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cam/ctl/ctl.h b/sys/cam/ctl/ctl.h
index 5d8a18281f78..c02433687fbe 100644
--- a/sys/cam/ctl/ctl.h
+++ b/sys/cam/ctl/ctl.h
@@ -172,6 +172,7 @@ int ctl_sap_log_sense_handler(struct ctl_scsiio *ctsio,
int pc);
int ctl_config_move_done(union ctl_io *io);
void ctl_datamove(union ctl_io *io);
+void ctl_serseq_done(union ctl_io *io);
void ctl_done(union ctl_io *io);
void ctl_data_submit_done(union ctl_io *io);
void ctl_config_read_done(union ctl_io *io);