From: Peng Tao Date: Thu, 12 Jan 2012 15:18:48 +0000 (+0800) Subject: pnfsblock: limit bio page count X-Git-Tag: v3.3-rc1~41^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74a6eeb44ca6174d9cc93b9b8b4d58211c57bc80;p=pandora-kernel.git pnfsblock: limit bio page count 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. Cc: #3.1+ Signed-off-by: Peng Tao Signed-off-by: Benny Halevy Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed