diff options
| author | Nicholas Bellinger <[email protected]> | 2013-08-22 11:33:37 -0700 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2013-09-10 16:48:40 -0700 |
| commit | d9ea32bff2c55d4cd4654f1e98d269a758f34534 (patch) | |
| tree | 64d8c15126232442cd574312b567511f2bfac74a /include | |
| parent | c5ff8d6bc3ebc363d77d71791080fefb07ae9017 (diff) | |
target: Add global device list for EXTENDED_COPY
EXTENDED_COPY needs to be able to search a global list of devices
based on NAA WWN device identifiers, so add a simple g_device_list
protected by g_device_mutex.
Cc: Christoph Hellwig <[email protected]>
Cc: Hannes Reinecke <[email protected]>
Cc: Martin Petersen <[email protected]>
Cc: Chris Mason <[email protected]>
Cc: Roland Dreier <[email protected]>
Cc: Zach Brown <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Nicholas Bellinger <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/target/target_core_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h index b5d0c2496c7e..732ce804020c 100644 --- a/include/target/target_core_base.h +++ b/include/target/target_core_base.h @@ -686,6 +686,7 @@ struct se_device { struct list_head delayed_cmd_list; struct list_head state_list; struct list_head qf_cmd_list; + struct list_head g_dev_node; /* Pointer to associated SE HBA */ struct se_hba *se_hba; /* T10 Inquiry and VPD WWN Information */ |