Re: nbd request too big

From: Paul Clements (kernel@steeleye.com)
Date: Mon Jan 07 2002 - 12:53:45 EST


Hi,

If you're using the nbd-server from Pavel Machek's web site, you'll need to patch
nbd-server.c to make it work on ~2.4.3+ kernels. My patched version of nbd-server.c
and cliserv.h are attached. The patched files make the server's request buffer be
dynamically allocated, so any size request can be handled by the server.
The patched version also fixes some other outdated code (e.g., llseek -> lseek64).

-- 
Paul Clements
Paul.Clements@SteelEye.com

On Mon, 7 Jan 2002, [iso-8859-1] Luc Robalo Marques wrote:

> hi, > > i would like to setup a nbd but when I try to mke2fs > the device on the client side, the connection hangs > and /log/messages contains a entry for mthe server > telling that the request was too big. > Any idea what caused it. > > Thanks you > > Luc robalo Marques > > ___________________________________________________________ > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! > Yahoo! Courrier : http://courrier.yahoo.fr > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ >



- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:35 EST