summaryrefslogtreecommitdiffstats
path: root/contrib/diff/lib/prepargs.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-07-15 17:14:53 +0000
committermav <mav@FreeBSD.org>2014-07-15 17:14:53 +0000
commit342f128143fdb4f83cc3f978de3ddc08ec4c2cea (patch)
tree7d10b64d0ab8d333ce737b47d7b1dcc5bdb1f755 /contrib/diff/lib/prepargs.h
parent14a59860bba56b34a1bc7d91e005928b115d79d4 (diff)
downloadFreeBSD-src-342f128143fdb4f83cc3f978de3ddc08ec4c2cea.zip
FreeBSD-src-342f128143fdb4f83cc3f978de3ddc08ec4c2cea.tar.gz
MFC r268362:
Teach ctl_add_initiator() to dynamically allocate IIDs from pool. If port passed negative IID value, the function will try to allocate IID from the pool of unused, based on passed wwpn or name arguments. It does all its best to make IID unique and persistent across reconnects. This makes persistent reservation properly work for iSCSI. Previously, in case of reconnects, reservation could be unexpectedly lost, or even migrate between intiators.
Diffstat (limited to 'contrib/diff/lib/prepargs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud