From: Peng Tao Date: Thu, 12 Jan 2012 15:18:48 +0000 (+0800) Subject: pnfsblock: limit bio page count X-Git-Tag: v3.2.2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4e8ff2994fa04444d813a3dfd2e8762756a00ec;p=pandora-kernel.git pnfsblock: limit bio page count commit 74a6eeb44ca6174d9cc93b9b8b4d58211c57bc80 upstream. One bio can have at most BIO_MAX_PAGES pages. We should limit it bec otherwise bio_alloc will fail when there are many pages in one read/write_pagelist. Signed-off-by: Peng Tao Signed-off-by: Benny Halevy Signed-off-by: Trond Myklebust Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed