Date: Wed, 16 Jan 2002 08:12:07 +0100 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Dan Moschuk <dan@FreeBSD.ORG> Cc: arch@FreeBSD.ORG Subject: Re: M_SHORTWAIT, the md driver and errno Message-ID: <43818.1011165127@critter.freebsd.dk> In-Reply-To: Your message of "Wed, 16 Jan 2002 01:29:50 EST." <20020116012950.C7831@spirit.jaded.net>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20020116012950.C7831@spirit.jaded.net>, Dan Moschuk writes: > >I'm fixing up the md driver to use the M_SHORTWAIT flag when allocating >memory. In the event that our request times out, what errno should the >driver return? Good question, I guess EIO is the "make sure not to break anything" choice, but obviously ENOMEM would make more sense. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43818.1011165127>