iSCSI/shutdown advice needed
- From: Danny Braniss <danny@xxxxxxxxxxxxx>
- Date: Thu, 23 Nov 2006 18:24:25 +0200
hi,
I'm trying to finish up the iSCSI initiator,
and need some advice. To shutdown the initiator, I
need to:
1- close down the CAM-peripherals, (ie da)
2- empty up all pending iSCSI transactions
3- close the tcp connection
2 & 3 I can handle, it's 1 that im stuck.
Q: how can I call the peripheral close function, or is there
some CAM command?
I tried
xpt_async(AC_LOST_DEVICE, isp->cam_path, NULL);
but this it far to drastic, and actually will cause panic
if the device is still mounted.
danny
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: iSCSI/shutdown advice needed
- From: Scott Long
- Re: iSCSI/shutdown advice needed
- Prev by Date: Re: Kqueue write event position?
- Next by Date: [PATCH] make_libdeps.sh in -CURRENT
- Previous by thread: Anyone solved boot freebsd-elf image from u-boot now?
- Next by thread: Re: iSCSI/shutdown advice needed
- Index(es):