Searched hist:"0 a5eee64" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/target/ |
H A D | target_core_device.c | 0a5eee64 Fri Jun 23 01:18:13 CDT 2017 Mike Christie <mchristi@redhat.com> target: use idr for se_device dev index
In the next patches we will add tcmu netlink support that allows userspace to send commands to target_core_user. To execute operations on a se_device/tcmu_dev we need to be able to look up a dev by any old id. This patch replaces the se_device->dev_index with a idr created id.
The next patches will also remove the g_device_list and replace it with the idr.
Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> 0a5eee64 Fri Jun 23 01:18:13 CDT 2017 Mike Christie <mchristi@redhat.com> target: use idr for se_device dev index In the next patches we will add tcmu netlink support that allows userspace to send commands to target_core_user. To execute operations on a se_device/tcmu_dev we need to be able to look up a dev by any old id. This patch replaces the se_device->dev_index with a idr created id. The next patches will also remove the g_device_list and replace it with the idr. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
|
/openbmc/linux/include/target/ |
H A D | target_core_base.h | 0a5eee64 Fri Jun 23 01:18:13 CDT 2017 Mike Christie <mchristi@redhat.com> target: use idr for se_device dev index
In the next patches we will add tcmu netlink support that allows userspace to send commands to target_core_user. To execute operations on a se_device/tcmu_dev we need to be able to look up a dev by any old id. This patch replaces the se_device->dev_index with a idr created id.
The next patches will also remove the g_device_list and replace it with the idr.
Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> 0a5eee64 Fri Jun 23 01:18:13 CDT 2017 Mike Christie <mchristi@redhat.com> target: use idr for se_device dev index In the next patches we will add tcmu netlink support that allows userspace to send commands to target_core_user. To execute operations on a se_device/tcmu_dev we need to be able to look up a dev by any old id. This patch replaces the se_device->dev_index with a idr created id. The next patches will also remove the g_device_list and replace it with the idr. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
|