cifs: keep a reusable kvec array for receives
authorJeff Layton <jlayton@redhat.com>
Wed, 19 Oct 2011 19:28:27 +0000 (15:28 -0400)
committerJeff Layton <jlayton@redhat.com>
Wed, 19 Oct 2011 19:28:27 +0000 (15:28 -0400)
Having to continually allocate a new kvec array is expensive. Allocate
one that's big enough, and only reallocate it as needed.

Reviewed-and-Tested-by: Pavel Shilovsky <piastry@etersoft.ru>
Signed-off-by: Jeff Layton <jlayton@redhat.com>

No differences found