aboutsummaryrefslogtreecommitdiff
path: root/sys/cam/ctl/ctl.h
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-12-04 11:34:19 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-12-04 11:34:19 +0000
commitef8daf3fedea42e9519fd722ec60c801ec6ce1cc (patch)
tree941ac8b775086c59b8407dd21087e39abd6fb5fe /sys/cam/ctl/ctl.h
parent3d6aff56154e3c2feb9b6fc492d9d18e89e76d75 (diff)
downloadsrc-ef8daf3fedea42e9519fd722ec60c801ec6ce1cc.tar.gz
src-ef8daf3fedea42e9519fd722ec60c801ec6ce1cc.zip
Add GET LBA STATUS command support to CTL.
It is implemented for LUNs backed by ZVOLs in "dev" mode and files. GEOM has no such API, so for LUNs backed by raw devices all LBAs will be reported as mapped/unknown. MFC after: 2 weeks Sponsored by: iXsystems, Inc.
Notes
Notes: svn path=/head/; revision=275474
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 9856dcc48ddb..1ec0586da4ec 100644
--- a/sys/cam/ctl/ctl.h
+++ b/sys/cam/ctl/ctl.h
@@ -186,6 +186,7 @@ int ctl_config_move_done(union ctl_io *io);
void ctl_datamove(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);
void ctl_config_write_done(union ctl_io *io);
void ctl_portDB_changed(int portnum);
void ctl_init_isc_msg(void);