[Pvfs2-developers] Re: BMI TCP socket close for sock buf size

Sam Lang slang at mcs.anl.gov
Fri Jul 14 16:32:54 EDT 2006


On Jul 13, 2006, at 2:09 PM, Pete Wyckoff wrote:

> As discussed earlier, when setting the TCP socket buffer sizes in
> the config file, the client already has one connection open to a
> server to get the config file.  It's too late to change the buffer
> size for this one connection.  So we need to close it and reopen it
> to fix things.
>
> This little patch just adds the part where the client can get BMI to
> close the socket.  One issue not handled in this patch is:  don't do
> this unless the config file explicitly sets buffer sizes.

I've attached the diff of your changes that does this, along with  
some doc on the buffer size options.  I'd vote for committing both.

-sam

> The
> bigger problem that sockbuf sizes should not be global settings, but
> rather per-mountpoint, is also not dealt with here.
>
> 		-- Pete
> <bmi-tcp-close.diff>



More information about the Pvfs2-developers mailing list