On 08/06/2012 06:27 AM, Lalit Chandivade wrote:
-Original Message-
From: Mike Christie [mailto:micha...@cs.wisc.edu]
Sent: Friday, August 03, 2012 2:03 PM
To: Lalit Chandivade
Cc: open-iscsi@googlegroups.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.
This seems ok.
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?
Would. I think I misread it the first time and thought it only said targets.
--
You received this message because you are subscribed to the Google Groups
open-iscsi group.
To post to this group, send email to open-iscsi@googlegroups.com.
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.