diff options
author | kib <kib@FreeBSD.org> | 2014-07-31 19:24:44 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-07-31 19:24:44 +0000 |
commit | b8112840fb7f996ebf4cb69002bbd4bc5d4d901b (patch) | |
tree | 90ac213f26d889be210d1c4350a6ea8e49638343 /sys/fs/nfs | |
parent | 37ce71f3e92aefea56a7963f9d0d18440b730670 (diff) | |
download | FreeBSD-src-b8112840fb7f996ebf4cb69002bbd4bc5d4d901b.zip FreeBSD-src-b8112840fb7f996ebf4cb69002bbd4bc5d4d901b.tar.gz |
Do not generate 1000 unique lock names for nfsrc hash chain locks.
It overflows witness.
Shorten the names of some nfs mutexes.
Reported and tested by: pho
No objections from: rmacklem, mav
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Diffstat (limited to 'sys/fs/nfs')
-rw-r--r-- | sys/fs/nfs/nfsrvcache.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/nfs/nfsrvcache.h b/sys/fs/nfs/nfsrvcache.h index 7db3035..119a68d 100644 --- a/sys/fs/nfs/nfsrvcache.h +++ b/sys/fs/nfs/nfsrvcache.h @@ -116,7 +116,6 @@ LIST_HEAD(nfsrvhashhead, nfsrvcache); /* The fine-grained locked cache hash table for TCP. */ struct nfsrchash_bucket { struct mtx mtx; - char lock_name[16]; struct nfsrvhashhead tbl; }; |