commit | 74a6eeb44ca6174d9cc93b9b8b4d58211c57bc80 | [log] [tgz] |
---|---|---|
author | Peng Tao <bergwolf@gmail.com> | Thu Jan 12 23:18:48 2012 +0800 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Thu Jan 12 16:39:05 2012 -0500 |
tree | 7aa0fc19c383f31123232103121756e48fbb84ed | |
parent | 93a3844ee0f843b05a1df4b52e1a19ff26b98d24 [diff] |
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: <stable@vger.kernel.org> #3.1+ Signed-off-by: Peng Tao <peng_tao@emc.com> Signed-off-by: Benny Halevy <bhalevy@tonian.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>