Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1353254 > unrolled thread

Re: [PATCH] Use ida_simple for SCSI iSCSI transport session id

Started byChris Leech <cleech@redhat.com>
First post2016-03-08 18:30 +0100
Last post2016-03-08 18:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Use ida_simple for SCSI iSCSI transport session id Chris Leech <cleech@redhat.com> - 2016-03-08 18:30 +0100

#1353254 — Re: [PATCH] Use ida_simple for SCSI iSCSI transport session id

FromChris Leech <cleech@redhat.com>
Date2016-03-08 18:30 +0100
SubjectRe: [PATCH] Use ida_simple for SCSI iSCSI transport session id
Message-ID<ratCi-3TL-9@gated-at.bofh.it>
On Fri, Feb 12, 2016 at 09:38:53AM -0800, Lee Duncan wrote:
> The scsi_transport_iscsi module already uses the ida_simple
> routines for managing the target ID, if requested to do
> so. This change replaces an ever-increasing atomic integer
> that tracks the session ID itself with the ida_simple
> family of routines. This means that the session ID
> will be reclaimed and can be reused when the session
> is freed.
> 
> Note that no maximum is placed on this value, though
> user-space currently only seems to use the lower 24-bits.
> It seems better to handle this in user space, though,
> than to limit the value range for the session ID here.
> 
> Signed-off-by: Lee Duncan <lduncan@suse.com>

Acked-by: Chris Leech <cleech@redhat.com>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web