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-02-23 12:19:07 +00:00
2008-01-18 17:02:14 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2008-01-10 22:11:20 +00:00
2008-02-12 20:11:54 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2007-12-25 17:52:02 +00:00
2007-06-04 23:50:56 +00:00
2007-12-05 01:22:03 +00:00
2007-03-05 13:10:58 +00:00
2008-01-16 01:05:21 +00:00
2008-02-23 01:01:49 +00:00
2007-10-24 19:04:04 +00:00
2008-01-07 20:05:19 +00:00
2008-01-13 14:44:15 +00:00
2008-02-17 15:28:28 +00:00
2007-11-15 02:13:44 +00:00
2007-10-27 00:52:26 +00:00
2007-10-29 20:45:31 +00:00
2008-01-24 08:25:59 +00:00
2007-11-15 14:16:20 +00:00
2007-11-15 21:45:17 +00:00
2006-09-09 16:09:01 +00:00
2008-02-23 01:01:49 +00:00
2008-01-13 14:44:15 +00:00
2008-03-01 19:47:50 +00:00
2007-08-07 09:04:50 +00:00
2007-06-27 13:39:38 +00:00
2008-02-01 19:36:27 +00:00
2008-02-17 16:44:48 +00:00
2008-02-13 21:34:06 +00:00
2007-05-27 20:50:23 +00:00
2008-02-13 23:39:05 +00:00
2007-06-14 18:37:58 +00:00
2007-12-07 08:20:17 +00:00
2007-08-06 14:26:03 +00:00
2007-07-02 14:03:29 +00:00
2008-01-10 22:11:20 +00:00
2007-10-24 19:04:04 +00:00
2008-01-10 22:11:20 +00:00
2007-11-18 14:43:53 +00:00
2008-02-07 06:16:54 +00:00
2008-01-28 19:04:07 +00:00
2008-01-13 14:44:15 +00:00
2007-06-05 00:00:57 +00:00
2007-11-14 06:21:24 +00:00
2007-12-15 23:13:31 +00:00
2008-01-10 22:11:20 +00:00
2006-08-01 16:32:20 +00:00
2007-11-30 21:29:08 +00:00
2008-02-17 02:46:54 +00:00
2007-11-15 06:35:26 +00:00
2007-12-22 04:56:48 +00:00
2008-01-18 13:00:28 +00:00
2008-02-06 00:04:09 +00:00
2007-12-17 08:09:37 +00:00
2007-04-23 12:53:00 +00:00
2007-03-05 13:10:58 +00:00
2007-06-05 00:00:57 +00:00
2008-01-13 14:44:15 +00:00
2008-01-13 14:44:15 +00:00
2007-11-18 00:23:31 +00:00
2007-07-05 08:55:14 +00:00
2007-12-14 21:30:51 +00:00
2007-07-04 22:38:28 +00:00
2007-11-14 06:21:24 +00:00
2006-11-12 03:34:03 +00:00
2007-12-15 23:13:31 +00:00
2008-01-23 03:10:18 +00:00
2007-06-12 00:12:01 +00:00
2008-02-15 21:54:21 +00:00
2008-01-27 16:06:37 +00:00
2007-07-23 09:42:32 +00:00
2006-10-31 21:11:21 +00:00
2006-10-24 10:27:23 +00:00
2007-02-15 17:21:31 +00:00
2007-12-25 17:52:02 +00:00
2008-02-06 00:04:09 +00:00
2007-05-27 17:38:36 +00:00
2007-10-16 10:40:53 +00:00
2007-11-14 06:21:24 +00:00
2007-03-08 06:44:34 +00:00
2007-06-05 00:00:57 +00:00
2007-04-28 07:37:49 +00:00
2006-10-02 18:23:37 +00:00
2008-02-13 23:36:56 +00:00
2008-01-02 17:09:15 +00:00
2007-12-03 14:44:35 +00:00
2007-10-20 23:23:23 +00:00
2007-12-07 08:20:17 +00:00
2008-02-07 06:55:38 +00:00
2007-07-04 06:56:58 +00:00
2007-12-25 17:52:02 +00:00
2008-01-07 20:05:19 +00:00
2008-01-07 20:05:19 +00:00
2007-11-08 19:35:36 +00:00
2008-01-07 20:05:19 +00:00
2008-02-12 20:11:54 +00:00
2008-02-12 20:09:04 +00:00
2008-02-12 20:11:54 +00:00
2007-06-12 00:12:01 +00:00
2007-10-24 19:04:04 +00:00
2007-10-24 19:04:04 +00:00
2008-02-12 20:55:03 +00:00
2008-01-13 14:44:15 +00:00
2007-07-05 05:54:47 +00:00
2008-01-26 06:09:23 +00:00
2007-07-03 17:46:37 +00:00
2008-01-08 04:53:28 +00:00
2008-02-01 19:36:27 +00:00
2008-01-03 15:19:31 +00:00
2007-08-06 14:26:03 +00:00
2007-10-24 19:04:04 +00:00
2008-02-01 19:36:27 +00:00
2008-01-13 14:44:15 +00:00
2008-01-07 22:03:19 +00:00
2008-02-07 05:55:16 +00:00
2008-02-04 12:25:13 +00:00
2008-02-04 12:25:13 +00:00
2008-02-24 00:07:00 +00:00
2008-01-18 19:16:03 +00:00
2008-01-13 14:44:15 +00:00
2008-02-01 11:59:14 +00:00
2008-03-01 19:47:50 +00:00
2008-02-25 18:45:57 +00:00
2007-06-01 01:12:45 +00:00
2008-02-25 18:45:57 +00:00
2007-02-15 22:08:35 +00:00
2008-01-13 14:44:15 +00:00
2007-03-13 01:50:27 +00:00
2007-02-16 17:32:41 +00:00
2008-02-25 18:45:57 +00:00
2008-02-18 20:58:57 +00:00
2008-03-01 19:47:50 +00:00
2008-02-23 01:01:49 +00:00
2008-01-13 14:44:15 +00:00
2008-02-26 12:16:35 +00:00