Whamcloud - gitweb
LU-1109 llite: do splice read stripe by stripe
authorJinshan Xiong <jinshan.xiong@whamcloud.com>
Thu, 23 Feb 2012 19:57:54 +0000 (11:57 -0800)
committerOleg Drokin <green@whamcloud.com>
Fri, 16 Mar 2012 01:49:52 +0000 (21:49 -0400)
commit2e8ea9391ffe458f16e23df08f2f18f1e38e1beb
treee5b4a307b2045b01259464acb3f3ea57db4ca192
parentb661b9af9edbbf954e4593e6fe3b2a6442cb3ce2
LU-1109 llite: do splice read stripe by stripe

If nfsd is reading an across stripe buffer, and if the first stripe
happens to be 64KB(PIPE_BUFFERS*PAGE_SIZE), then first read will
occupy all pipe buffers and this makes nfsd stuck if it reads the
next stripe immediately.

Signed-off-by: Jinshan Xiong <jinshan.xiong@whamcloud.com>
Change-Id: I13cb54b37f738ee3c081dff1929630ea523b77fd
Reviewed-on: http://review.whamcloud.com/2182
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <yong.fan@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/vvp_io.c