Skip to content
Commit 048883e0 authored by Peng Tao's avatar Peng Tao Committed by Trond Myklebust
Browse files

nfs: fix pg_test page count calculation



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: default avatarPeng Tao <tao.peng@primarydata.com>
Fixes: 2e11f829 ("nfs: cap request size to fit a kmalloced page array")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent a41cbe86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment