diff options
author | Peng Tao <tao.peng@primarydata.com> | 2015-09-11 11:14:06 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-22 14:43:18 -0700 |
commit | 0fe83960ecd61b82fb436728712330b61b47d53a (patch) | |
tree | 10507dce3b8e63e2df31fc3dbbdbf0cc1c31316d /fs/nfs/write.c | |
parent | 953c972242a0772d938b391bc9d70b3c0591c20f (diff) |
nfs: fix pg_test page count calculation
commit 048883e0b934d9a5103d40e209cb14b7f33d2933 upstream.
We really want sizeof(struct page *) instead. Otherwise we limit
maximum IO size to 64 pages rather than 512 pages on a 64bit system.
Fixes 2e11f829(nfs: cap request size to fit a kmalloced page array).
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Peng Tao <tao.peng@primarydata.com>
Fixes: 2e11f8296d22 ("nfs: cap request size to fit a kmalloced page array")
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs/write.c')
0 files changed, 0 insertions, 0 deletions