diff options
author | Alexander Motin <mav@FreeBSD.org> | 2014-11-21 06:27:37 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2014-11-21 06:27:37 +0000 |
commit | 23b30f56002cdae12cba2c447585914099bf1227 (patch) | |
tree | 61a4fc692dad992fe5a5c65ae12f0937ef0044e7 /sys/cam/ctl/ctl_frontend_cam_sim.c | |
parent | 836856e3e6a142de9ce02e9527580662d887c8eb (diff) | |
download | src-23b30f56002cdae12cba2c447585914099bf1227.tar.gz src-23b30f56002cdae12cba2c447585914099bf1227.zip |
Partially reconstruct Active/Standby clusting.
In this mode one head is in Active state, supporting all commands, while
another is in Standby state, supporting only minimal LUN discovery subset.
It is still incomplete since Standby state requires reservation support,
which is impossible to do right without having interlink between heads.
But it allows to run some basic experiments.
Notes
Notes:
svn path=/head/; revision=274785
Diffstat (limited to 'sys/cam/ctl/ctl_frontend_cam_sim.c')
-rw-r--r-- | sys/cam/ctl/ctl_frontend_cam_sim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/ctl/ctl_frontend_cam_sim.c b/sys/cam/ctl/ctl_frontend_cam_sim.c index 7cdd5b7972c2..93c12f48e417 100644 --- a/sys/cam/ctl/ctl_frontend_cam_sim.c +++ b/sys/cam/ctl/ctl_frontend_cam_sim.c @@ -164,7 +164,7 @@ cfcs_init(void) port->max_targets = 1; port->max_target_id = 15; - retval = ctl_port_register(port, /*master_SC*/ 1); + retval = ctl_port_register(port); if (retval != 0) { printf("%s: ctl_port_register() failed with error %d!\n", __func__, retval); |