]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Charge NFSv4 open state trackers to kmemcg
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 29 Jan 2022 18:42:01 +0000 (13:42 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 25 Feb 2022 23:50:12 +0000 (18:50 -0500)
commit01f8b6e7436a381afd4f4c559eb20bc9a01592f8
tree89c74b6286858544657317aa626bbb9a7ea5dfff
parent422e75d0c2177cb496292cabbf785dbbf9799f91
NFSv4: Charge NFSv4 open state trackers to kmemcg

Allow kmemcg to limit the number of NFSv4 delegation, lock and open
state trackers.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/delegation.c
fs/nfs/nfs4state.c