From: Steven Smith Subject: Re: [PATCH] pvSCSI: Sanity check for REPORT_LUN emulation Date: Fri, 18 Jul 2008 14:58:41 +0100 Message-ID: <20080718135841.GA29471@weybridge.uk.xensource.com> References: <20080716105252.0274.EB2C8575@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1041132020==" Return-path: In-Reply-To: <20080716105252.0274.EB2C8575@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jun Kamada Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1041132020== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > I will attach a patch in order to provide following. >=20 > - Sanity check for REPORT_LUN emulation. Thank you, that's much better. I have one slight issue with the new approach: if a REPORT_LUNS command races with a LUN hot-add on the backend, you tell the frontend that the command failed. Might it be better to instead retry the command on the backend? It's pretty unlikely that anyone would actually hit this race, and the current behaviour isn't completely unreasonable, but it seems like retrying in the backend would be a bit more robust. What do you think? Steven. --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIgKGRSSW8CTLdF2kRAnqNAJ0YuMbZRqkoWAfJ4Qf7Vu69/mOjwwCeMIf/ QNp9ZZvEDsZRV2aRBEwr16Y= =0lJZ -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- --===============1041132020== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1041132020==--