diff options
| author | Nicholas Bellinger <[email protected]> | 2015-03-27 04:51:03 +0000 |
|---|---|---|
| committer | Nicholas Bellinger <[email protected]> | 2015-06-01 00:24:12 -0700 |
| commit | 79dc9c9e865a7f8c14737453f112ced25deafdef (patch) | |
| tree | 3b2ed302eecee3319868fc5f29c7ecfea1f8f27e /scripts/gdb/linux/device.py | |
| parent | 80bfdfa92481d431b199eff72788588d13a3988f (diff) | |
target/pr: Change alloc_registration to avoid pr_reg_tg_pt_lun
This patch changes __core_scsi3_do_alloc_registration() code to
drop pr_reg->pr_reg_tg_pt_lun pointer usage in favor of a new
pr_reg RPTI + existing pr_reg->pr_aptpl_target_lun used by
APTPL metadata logic.
It also includes changes to REGISTER, REGISTER_AND_MOVE and APTPL
feature bit codepaths to use rcu_dereference_check() with the
expected non-zero se_dev_entry->pr_kref reference held.
Reviewed-by: Hannes Reinecke <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Sagi Grimberg <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/device.py')
0 files changed, 0 insertions, 0 deletions