lkml.org 
[lkml]   [2008]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pagevecs of more than PAGEVEC_SIZE pages
Hi.

On Thu, May 22, 2008 at 10:54:59PM -0700, Andrew Morton (akpm@linux-foundation.org) wrote:
> > Now that various servers support processing larger than 64K file
> > writes, it would be helpful to have pagevecs that are larger than 14
> > pages (PAGEVEC_SIZE).so an array of more pages could be passed to
> > kernel_sendmsg (thus allowing writes larger than 56K, depending on
> > wsize - the server limit is currently 8MB)
>
> You can pass multiple pagevecs into kernel_sendmsg?

kernel_sendmsg() requires iovecs, so each page will have to be mapped,
which can end up having too many slots in kmap table. I can reproduce
deadlock we talked about in POHMELFS thread with 100 highmem pages per
transaction on 32bit x86, so increasing pagevec noticebly can deadlock
CIFS too.

It could be great if CIFS moved to kernel_sendpage() instead, Steve?

--
Evgeniy Polyakov


\
 
 \ /
  Last update: 2008-05-23 11:33    [W:0.040 / U:2.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site