> -----Original Message----- > From: Mike Christie [mailto:micha...@cs.wisc.edu] > Sent: Friday, August 03, 2012 2:03 PM > To: Lalit Chandivade > Cc: email@example.com; Ravi Anand; Vikas Chaudhary; Manish > Rangankar > Subject: Re: RFC: Doc: FLASH DDB Management using iscsiadm > > On 07/12/2012 05:37 PM, Lalit Chandivade wrote: > > Hi Mike, > > > > We want to work on this solution that would enable qla4xxx users to > manage the DDBs in FLASH and migrate the entries from FLASH to user > space. > > > > Here is our initial thought, please review and let us know your feedback. > > > > This sounds ok to me. Just some minor comments/questions that I am > guessing you just glossed over to make it easier to understand. > > > > Add support for FLASH DDB management in iscsiadm > > ========================================= > > > > 1. Export normal target entries to /sys/class/iscsi_session from FLASH > > when the driver comes up > > /sys/class/iscsi_session/session2 <- for the DDB at Flash DDB index 1 > > /sys/class/iscsi_session/session3 <- for the DDB at Flash DDB index 2 > > /sys/class/iscsi_session/session4 <- for target at index 3 in the RAM > > DDB > > Note: This will need changes in the driver > > Are you are going to add a file on the session to indicate if it's flash or > not or > how can we tell?
We already have the "creator" to differentiate. /sys/class/iscsi_session/session1/creator Also we are thinking if we should add the FLASH DDBs under /sys/firmware, something like /sys/firmware/iscsi_offload/host0/ |-->iscsi_target/tgt0 |-->iscsi_target/tgt0/iqn |-->iscsi_target/tgt0/ip |-->iscsi_target/tgt0/port As this will clearly distinguish between FLASH DDBs and user created node records. > > > > > > 2. Export sendtarget entries to /sys/firmware > > /sys/firmware/send_targets/host0 > > /sys/firmware/send_targets/host0/target0 > > I would name it send_targets, but yeah seems fine. Would or would not? This message and any attached documents contain information from QLogic Corporation or its wholly-owned subsidiaries that may be confidential. If you are not the intended recipient, you may not read, copy, distribute, or use this information. If you have received this transmission in error, please notify the sender immediately by reply e-mail and then delete this message. -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To post to this group, send email to firstname.lastname@example.org. To unsubscribe from this group, send email to open-iscsi+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/open-iscsi?hl=en.