Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 08 Sep 2003 20:47:50 -0400 | From | Paul Clements <> | Subject | Re: [NBD] patch and documentation |
| |
Pavel Machek wrote: > > Hi! > > > >>Another idea would be to be abled to specify the max_sectors while > > >>connecting an NBD. That would add an optional paramter to the nbd-client > > >>command line. (like it is possible for the blocksize) > > > > > >I do not see why it should be configurable... > > > > We may regret to use a certain value, although i agree that 1MB should > > be sufficient for the future. > > I believe that 1MB is good, and good enough for close future. If that > ever proves to be problem, we can add handshake at that point. But I > do not believe it will be neccessary.
But, who ever said the buffer in the nbd-server had to be statically allocated? I have a version of nbd-server that is modified to handle any size request that the client side throws at it -- if the buffer is not large enough, it simply reallocates it.
-- Paul - 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/
| ![\](/images/icornerr.gif) |