Attilio Rao 7fbfba7bf8 - Handle buffer lock waiters count directly in the buffer cache instead
than rely on the lockmgr support [1]:
  * bump the waiters only if the interlock is held
  * let brelvp() return the waiters count
  * rely on brelvp() instead than BUF_LOCKWAITERS() in order to check
    for the waiters number
- Remove a namespace pollution introduced recently with lockmgr.h
  including lock.h by including lock.h directly in the consumers and
  making it mandatory for using lockmgr.
- Modify flags accepted by lockinit():
  * introduce LK_NOPROFILE which disables lock profiling for the
    specified lockmgr
  * introduce LK_QUIET which disables ktr tracing for the specified
    lockmgr [2]
  * disallow LK_SLEEPFAIL and LK_NOWAIT to be passed there so that it
    can only be used on a per-instance basis
- Remove BUF_LOCKWAITERS() and lockwaiters() as they are no longer
  used

This patch breaks KPI so __FreBSD_version will be bumped and manpages
updated by further commits. Additively, 'struct buf' changes results in
a disturbed ABI also.

[2] Really, currently there is no ktr tracing in the lockmgr, but it
will be added soon.

[1] Submitted by:	kib
Tested by:	pho, Andrea Barberio <insomniac at slackware dot it>
2008-03-01 19:47:50 +00:00
..
2007-08-04 17:43:11 +00:00
2007-11-26 18:17:07 +00:00
2008-01-18 16:34:18 +00:00
2008-02-22 00:46:22 +00:00
2008-01-29 02:15:11 +00:00
2007-10-12 06:03:46 +00:00
2007-02-23 19:27:49 +00:00
2007-10-12 06:03:46 +00:00
2008-02-26 23:12:55 +00:00
2008-02-27 10:14:57 +00:00
2007-03-21 03:42:51 +00:00
2008-01-07 09:46:39 +00:00
2007-02-23 19:34:52 +00:00
2008-03-01 08:23:35 +00:00
2008-02-28 18:31:54 +00:00
2008-01-27 01:30:02 +00:00
2007-10-12 06:03:46 +00:00
2007-07-05 06:51:49 +00:00
2007-06-08 01:54:22 +00:00
2008-01-21 09:51:28 +00:00
2008-02-19 20:54:42 +00:00
2008-02-12 08:58:26 +00:00
2007-03-21 03:42:51 +00:00
2007-12-05 19:32:59 +00:00