summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2025-05-01 08:29:42 -0400
committerAnna Schumaker <anna.schumaker@oracle.com>2025-05-28 17:17:13 -0400
commit77be29b7a3f896bd96808ba6781481a1f6afa66c (patch)
tree68ff6bc2170fa6ff01532dc2163a552465e5ac33 /scripts/patch-kernel
parent4d4832ed13ff505fe0371544b4773e79be2bb964 (diff)
downloadkernel-77be29b7a3f896bd96808ba6781481a1f6afa66c.tar.gz
NFSv4: Allow FREE_STATEID to clean up delegations
The NFS client's list of delegations can grow quite large (well beyond the delegation watermark) if the server is revoking or there are repeated events that expire state. Once this happens, the revoked delegations can cause a performance problem for subsequent walks of the servers->delegations list when the client tries to test and free state. If we can determine that the FREE_STATEID operation has completed without error, we can prune the delegation from the list. Since the NFS client combines TEST_STATEID with FREE_STATEID in its minor version operations, there isn't an easy way to communicate success of FREE_STATEID. Rather than re-arrange quite a number of calling paths to break out the separate procedures, let's signal the success of FREE_STATEID by setting the stateid's type. Set NFS4_FREED_STATEID_TYPE for stateids that have been successfully discarded from the server, and use that type to signal that the delegation can be cleaned up. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
mulex/benet?h=master&id=2e5db6eb3c23e5dc8171eb8f6af7a97ef9fcf3a9'>be2net: fix link failure after ethtool offline testPetr Oros 2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds 2019-06-16be2net: Fix number of Rx queues used for flow hashingIvan Vecera 2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 338Thomas Gleixner 2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner 2019-04-01net: move skb->xmit_more hint to softnet dataFlorian Westphal 2019-01-28benet: remove broken and unused macroLubomir Rintel 2019-01-08cross-tree: phase out dma_zalloc_coherent()Luis Chamberlain 2018-12-12net: ndo_bridge_setlink: Add extackPetr Machata 2018-11-21benet: use skb_vlan_tag_get_prio()Michał Mirosław 2018-11-08benet: use __vlan_hwaccel helpersMichał Mirosław 2018-10-25Merge tag 'pci-v4.20-changes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds 2018-10-23Revert "be2net: remove desc field from be_eq_obj"Ivan Vecera 2018-10-05be2net: don't flip hw_features when VXLANs are added/deletedDavide Caratti 2018-10-02PCI/AER: Remove pci_cleanup_aer_uncorrect_error_status() callsOza Pawandeep