From: wlf Date: Thu, 6 Mar 2014 06:06:01 +0000 (+0800) Subject: USB: change FSG_BUFLEN from 16KB to 64KB in order to increase copy-speed X-Git-Tag: firefly_0821_release~6182 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=9fbc91f34d9e80fab921f0034483ec7a09d14fda;p=firefly-linux-kernel-4.4.55.git USB: change FSG_BUFLEN from 16KB to 64KB in order to increase copy-speed --- diff --git a/drivers/usb/gadget/storage_common.c b/drivers/usb/gadget/storage_common.c index dbce3a9074e6..8d84935aad04 100644 --- a/drivers/usb/gadget/storage_common.c +++ b/drivers/usb/gadget/storage_common.c @@ -185,7 +185,7 @@ static inline int fsg_num_buffers_validate(void) } /* Default size of buffer length. */ -#define FSG_BUFLEN ((u32)16384) +#define FSG_BUFLEN ((u32)65536) /* Maximal number of LUNs supported in mass storage function */ #define FSG_MAX_LUNS 8