From: Steven Smith Subject: Re: [PATCH] pvSCSI: Sanity check for REPORT_LUN emulation Date: Mon, 28 Jul 2008 11:20:42 +0100 Message-ID: <20080728102042.GA31501@weybridge.uk.xensource.com> References: <20080716105252.0274.EB2C8575@jp.fujitsu.com> <20080718135841.GA29471@weybridge.uk.xensource.com> <20080723084842.81C8.EB2C8575@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0296503427==" Return-path: In-Reply-To: <20080723084842.81C8.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, Steven Smith List-Id: xen-devel@lists.xenproject.org --===============0296503427== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > Sorry for delay. Don't worry about it; I'm just as bad. > > > I will attach a patch in order to provide following. > > >=20 > > > - Sanity check for REPORT_LUN emulation. > > Thank you, that's much better. > >=20 > > 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? > >=20 > > 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? > Yes, I consider retrying is a right way, because we can expect few=20 > times retrying will certainly succeed in this case. > I will attach a patch with the number of retry is three. How do you > think three times retry is appropriate? The patch looks fine. Three retries sounds pretty reasonable; failing once is unlikely, so failing four times in a row shouldn't really happen unless there's something else wrong. (Famous last words :)). Steven. --fUYQa+Pmc3FrFX/N 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) iD8DBQFIjZ16SSW8CTLdF2kRAqT8AJwNGpHcplEwcFnJj/UYuNo4XqN0CwCdH6Yn 2mEpoms0wGxHmOZKbUFEIw4= =VF7e -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- --===============0296503427== 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 --===============0296503427==--