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


Groups > linux.kernel > #1329203

Re: [PATCH v2 2/2] xen/scsiback: avoid warnings when adding multiple LUNs to a domain

From Boris Ostrovsky <boris.ostrovsky@oracle.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 2/2] xen/scsiback: avoid warnings when adding multiple LUNs to a domain
Date 2016-02-08 16:50 +0100
Message-ID <qZWeB-7eV-7@gated-at.bofh.it> (permalink)
References <qZV8S-6zW-31@gated-at.bofh.it> <qZV8S-6zW-37@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



On 02/08/2016 09:30 AM, Juergen Gross wrote:
> When adding more than one LUN to a frontend a warning for a failed
> assignment is issued in dom0 for each already existing LUN. Avoid this
> warning by checking for a LUN already existing when existence is
> allowed (scsiback_do_add_lun() called with try == 1).
>
> As the LUN existence check is needed now for a third time, factor it
> out into a function. This in turn leads to a more or less complete
> rewrite of scsiback_del_translation_entry() which will now return a
> proper error code in case of failure.
>
> Signed-off-by: Juergen Gross <jgross@suse.com>
> Cc: stable@vger.kernel.org

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 2/2] xen/scsiback: avoid warnings when adding multiple LUNs to a domain Juergen Gross <jgross@suse.com> - 2016-02-08 15:40 +0100
  Re: [PATCH v2 2/2] xen/scsiback: avoid warnings when adding multiple  LUNs to a domain Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2016-02-08 16:50 +0100
  Re: [Xen-devel] [PATCH v2 2/2] xen/scsiback: avoid warnings when  adding multiple LUNs to a domain David Vrabel <david.vrabel@citrix.com> - 2016-02-08 17:50 +0100
    Re: [Xen-devel] [PATCH v2 2/2] xen/scsiback: avoid warnings when  adding multiple LUNs to a domain Juergen Gross <jgross@suse.com> - 2016-02-08 18:00 +0100
      Re: [Xen-devel] [PATCH v2 2/2] xen/scsiback: avoid warnings when  adding multiple LUNs to a domain David Vrabel <david.vrabel@citrix.com> - 2016-02-08 18:00 +0100

csiph-web