diff options
author | Peng Tao <tao.peng@primarydata.com> | 2015-09-11 06:14:06 +0300 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-10-28 05:13:39 +0300 |
commit | f67da13760a0be601a1d3b3daef030c2e5e7cdec (patch) | |
tree | 18ca5c905a2fc7d41747e28f1beaccf0587f4a37 /fs/xfs/xfs_xattr.c | |
parent | 8bf6c729a8b9ecb4c2dccba2881b9a374daae7a2 (diff) | |
download | linux-f67da13760a0be601a1d3b3daef030c2e5e7cdec.tar.xz |
nfs: fix pg_test page count calculation
[ Upstream commit 048883e0b934d9a5103d40e209cb14b7f33d2933 ]
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: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_xattr.c')
0 files changed, 0 insertions, 0 deletions