On Fri, Jul 01, 2016 at 04:46:53PM +0200, Hannes Reinecke wrote:
> > -#define MAX_REPLY_LEN              65536
> > +#define MAX_REPLY_LEN              10485760
> > +/* ^ 10 MiB, enough for 'show maps json' command with 10k paths which
> > + *   requires about 8 MiB */
> >  
> >  
> Huh.
> Can't say I like it. The limit is pretty much self-imposed, so I'd
> rather bite the bullet and make it size-independent.
> 
> Cheers,
> 
> Hannes
> -- 
> Dr. Hannes Reinecke              Teamlead Storage & Networking

Hi Hannes Reinecke,

How about limit the input command string size and let multipathd
output size-independent?

Best regards.

-- 
Gris Ge

Attachment: signature.asc
Description: PGP signature

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel

Reply via email to