mckusick
be6aa51161
When the number of dirty buffers rises too high, the buf_daemon runs
...
to help clean up. After selecting a potential buffer to write, this
patch has it acquire a lock on the vnode that owns the buffer before
trying to write it. The vnode lock is necessary to avoid a race with
some other process holding the vnode locked and trying to flush its
dirty buffers. In particular, if the vnode in question is a snapshot
file, then the race can lead to a deadlock. To avoid slowing down the
buf_daemon, it does a non-blocking lock request when trying to lock
the vnode. If it fails to get the lock it skips over the buffer and
continues down its queue looking for buffers to flush.
Sponsored by: DARPA & NAI Labs.
2002-10-18 01:29:59 +00:00
..
2002-10-07 05:06:38 +00:00
2002-04-04 23:39:10 +00:00
2002-09-21 22:07:17 +00:00
2002-07-20 02:56:12 +00:00
2002-07-20 02:56:12 +00:00
2002-10-17 20:03:38 +00:00
2002-07-20 02:56:12 +00:00
2002-09-21 22:07:17 +00:00
2002-03-25 13:52:45 +00:00
2002-10-17 20:03:38 +00:00
2002-10-10 04:08:11 +00:00
2002-10-05 20:05:23 +00:00
2002-08-01 01:04:16 +00:00
2002-09-26 07:38:56 +00:00
2002-10-12 05:32:24 +00:00
2002-10-09 02:33:36 +00:00
2002-10-05 17:10:28 +00:00
2002-10-16 15:45:37 +00:00
2002-10-17 20:03:38 +00:00
2002-10-03 06:03:26 +00:00
2002-10-11 21:04:01 +00:00
2002-10-15 00:14:32 +00:00
2002-10-15 00:14:32 +00:00
2002-10-12 05:32:24 +00:00
2002-10-17 21:02:02 +00:00
2002-10-17 20:03:38 +00:00
2002-10-09 02:33:36 +00:00
2002-10-02 07:44:29 +00:00
2002-09-26 07:38:56 +00:00
2002-10-02 07:44:29 +00:00
2002-10-17 17:28:57 +00:00
2002-08-27 09:59:47 +00:00
2002-09-14 14:44:41 +00:00
2002-10-06 14:39:15 +00:00
2002-09-18 08:26:30 +00:00
2002-10-13 14:26:29 +00:00
2002-06-26 00:31:44 +00:00
2002-04-04 21:03:38 +00:00
2002-10-12 05:32:24 +00:00
2002-10-11 10:36:22 +00:00
2002-10-11 14:58:34 +00:00
2002-08-18 07:05:00 +00:00
2002-10-17 20:03:38 +00:00
2002-08-01 17:47:56 +00:00
2002-10-12 05:32:24 +00:00
2002-04-04 21:03:38 +00:00
2002-09-19 18:49:46 +00:00
2002-10-02 09:09:25 +00:00
2002-10-12 05:32:24 +00:00
2002-10-14 20:43:02 +00:00
2002-04-04 20:49:35 +00:00
2002-10-12 05:32:24 +00:00
2002-03-18 07:45:30 +00:00
2002-10-17 20:03:38 +00:00
2002-10-17 20:03:38 +00:00
2002-10-09 02:33:36 +00:00
2002-09-25 12:00:38 +00:00
2002-09-05 11:42:03 +00:00
2002-08-22 12:47:22 +00:00
2002-06-29 02:00:02 +00:00
2002-10-14 20:34:31 +00:00
2002-10-15 05:40:07 +00:00
2002-10-15 05:40:07 +00:00
2002-09-19 00:43:32 +00:00
2002-06-24 14:15:25 +00:00
2002-05-19 00:14:50 +00:00
2002-09-19 00:43:32 +00:00
2002-10-14 20:34:31 +00:00
2002-08-01 01:04:16 +00:00
2002-03-19 21:25:46 +00:00
2002-05-18 23:46:04 +00:00
2002-10-15 18:56:13 +00:00
2002-03-19 21:25:46 +00:00
2002-08-07 19:43:54 +00:00
2002-10-17 20:03:38 +00:00
2002-10-17 23:48:29 +00:00
2002-09-20 19:36:05 +00:00
2002-10-01 07:24:55 +00:00
2002-10-17 20:03:38 +00:00
2002-07-19 17:44:44 +00:00
2002-05-01 02:51:50 +00:00
2002-06-10 22:40:26 +00:00
2002-10-03 02:13:00 +00:00
2002-10-16 19:59:08 +00:00
2002-10-11 14:58:34 +00:00
2002-08-30 04:04:37 +00:00
2002-07-15 17:17:56 +00:00
2002-10-11 17:54:55 +00:00
2002-10-01 13:15:11 +00:00
2002-09-05 11:45:02 +00:00
2002-08-07 19:43:54 +00:00
2002-10-04 09:58:17 +00:00
2002-10-02 09:09:25 +00:00
2002-09-11 08:13:56 +00:00
2002-08-01 13:35:38 +00:00
2002-10-12 05:32:24 +00:00
2002-10-12 05:32:24 +00:00
2002-10-12 00:33:36 +00:00
2002-03-31 22:37:00 +00:00
2002-09-28 17:15:38 +00:00
2002-10-14 21:15:04 +00:00
2002-10-16 16:28:33 +00:00
2002-10-06 14:39:15 +00:00
2002-10-10 04:08:11 +00:00
2002-10-15 01:36:45 +00:00
2002-04-01 21:31:13 +00:00
2002-08-13 08:00:36 +00:00
2002-08-13 08:47:17 +00:00
2002-08-15 02:10:12 +00:00
2002-03-24 05:09:11 +00:00
2002-10-17 20:03:38 +00:00
2002-04-16 17:09:22 +00:00
2002-03-19 21:25:46 +00:00
2002-08-19 19:04:53 +00:00
2002-10-03 02:13:00 +00:00
2002-10-11 14:58:34 +00:00
2002-05-31 11:52:35 +00:00
2002-07-21 19:06:46 +00:00
2002-10-16 01:54:46 +00:00
2002-10-16 01:54:46 +00:00
2002-10-16 10:42:13 +00:00
2002-09-18 19:44:14 +00:00
2002-09-18 19:44:14 +00:00
2002-10-05 21:23:47 +00:00
2002-10-06 14:39:15 +00:00
2002-10-17 15:52:42 +00:00
2002-08-01 01:04:16 +00:00
2002-10-14 01:21:37 +00:00
2002-10-18 01:29:59 +00:00
2002-09-02 22:40:30 +00:00
2002-09-25 02:12:32 +00:00
2002-10-14 03:20:36 +00:00
2002-06-30 05:23:58 +00:00
2002-10-10 13:59:58 +00:00
2002-06-22 21:44:11 +00:00
2002-08-04 10:29:36 +00:00
2002-09-25 01:44:21 +00:00
2002-10-14 19:54:39 +00:00
2002-10-10 13:59:58 +00:00
2002-09-26 21:21:13 +00:00
2002-09-26 00:31:16 +00:00