Windows: make lock reader history debug only
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 15 Jan 2012 16:43:40 +0000 (11:43 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 23 Jan 2012 05:25:23 +0000 (21:25 -0800)
commita9803ae643b070b8c805cf94b4ac3205ba8668b1
treec16fc434e0f45a1b6cd3bb4dc7e10e18c5d6298c
parentdfd0c2acc103cd2881bbfecd923c05012001e12a
Windows: make lock reader history debug only

The lock reader history on osi_rwlock is proving to be too
expensive.  Only use it for DEBUG builds.  Leave the data
structures the same so that DEBUG builds can be mixed with
a RELEASE build of afsd_service.exe.

Change-Id: If0eeddb63c8f9919cdb5e119f31cde77974447b6
Reviewed-on: http://gerrit.openafs.org/6559
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/client_osi/osibasel.c
src/WINNT/client_osi/osisleep.c