From: Ross S. W. W. <RW...@me...> - 2010-03-30 18:07:38
|
Ross S. W. Walker [mailto:RW...@me...] wrote: > > Remove the ioctl call to delete all targets. > > With the kernel deleting all targets itself when ietd dies there > is no need to keep this around any longer, especially since the > earlier ioctl patches added a semaphore around the kernel's > ioctl calls and the target delete all call, eliminating the race > condition that existed where ietd might start trying to add > configuration while the kernel module was removing configuration. > > A nice side-effect of this is that initiators will be able to > re-connect on a restart of ietd because there was a race condition > between ietd clearing the kernel configuration and initiators > attempting to reconnect that caused them to fail. > > The 'ietadm --op delete' still exists in the initd files for > iSNS deregistration which will probably be incorporated into ietd > iSNS registration in a later patch. > > Tested on RHEL5 against MS initiator. Signed-off-by: Ross Walker ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. |