]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: When expanding the buffer, we may need grow the sparse pages
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 10 Dec 2020 13:55:35 +0000 (08:55 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 14 Dec 2020 11:51:07 +0000 (06:51 -0500)
commitc4ea5a20569e08a739aaafbc0b569679431c1c01
tree1a9d15edad19994c3f226ec4a5a2311e6e658566
parent817ead270848e00588a5b63901435f6deabab7aa
SUNRPC: When expanding the buffer, we may need grow the sparse pages

If we're shifting the page data to the right, and this happens to be a
sparse page array, then we may need to allocate new pages in order to
receive the data.

Reported-by: "Mkrtchyan, Tigran" <tigran.mkrtchyan@desy.de>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/xdr.c