Peter Wemm
16e9e530cc
Convert lists for bufs attached to vnodes from a LIST to a TAILQ.
...
- Use TAILQ_* macros extensively instead of internal names
- use b_xflags instead of the NOLIST magic number hack in the next pointer
- clean bufs are inserted at the tail rather than the head.
- redo dirty buffer insert so that metadata (negative lbn) goes to the
tail directly rather than at the HEAD. This makes a difference when
inserting dirty data blocks in lbn sorted order since data block
insertion will not have to bypass all the metadata cruft. data is
lbn sorted since it makes sense for clustering and writeback ordering,
while metadata sorting doesn't help much since the lbn's are
meaningless when walking the list for writebacks.
Small systems will not notice much (if any) benefit from this, but really
busy systems with large dirty block lists should get a lot more.
I've tested this with softdep, and it doesn't seem to mind the change of
queueing of metadata.
Reviewed (in princible) by: dg
Obtained from: partly from John Dyson's work-in-progress patches in June.
1998-10-31 14:20:39 +00:00
..
1998-09-16 08:25:56 +00:00
1998-06-14 13:53:12 +00:00
1998-10-16 03:55:01 +00:00
1998-10-25 17:44:59 +00:00
1998-10-16 03:55:01 +00:00
1998-10-16 03:55:01 +00:00
1997-10-12 20:26:33 +00:00
1998-10-15 17:09:19 +00:00
1998-08-24 08:32:19 +00:00
1998-06-05 21:44:20 +00:00
1998-10-26 06:13:18 +00:00
1998-10-25 17:44:59 +00:00
1998-07-29 17:38:14 +00:00
1998-10-09 21:21:34 +00:00
1998-10-28 13:37:02 +00:00
1998-06-05 21:44:20 +00:00
1998-01-22 17:30:44 +00:00
1998-09-26 14:25:32 +00:00
1998-02-20 13:37:40 +00:00
1998-10-24 18:35:09 +00:00
1998-10-25 17:44:59 +00:00
1998-04-17 04:53:44 +00:00
1998-07-29 17:38:14 +00:00
1998-10-25 17:44:59 +00:00
1998-08-31 08:41:58 +00:00
1998-10-16 03:55:01 +00:00
1998-06-13 09:30:26 +00:00
1998-10-25 17:44:59 +00:00
1998-07-11 07:46:16 +00:00
1998-06-10 10:28:29 +00:00
1998-06-21 11:33:32 +00:00
1998-07-27 19:16:21 +00:00
1998-10-30 05:41:15 +00:00
1998-10-21 16:31:38 +00:00
1998-08-04 09:21:04 +00:00
1998-10-25 20:11:36 +00:00
1998-10-16 03:55:01 +00:00
1998-10-26 06:13:18 +00:00
1998-10-25 17:44:59 +00:00
1998-10-25 17:44:59 +00:00
1998-05-17 20:08:05 +00:00
1998-08-24 08:39:39 +00:00
1998-05-19 21:11:53 +00:00
1998-10-25 17:44:59 +00:00
1998-10-25 17:44:59 +00:00
1998-10-25 17:44:59 +00:00
1997-02-22 09:48:43 +00:00
1998-10-29 01:52:59 +00:00
1998-10-15 09:50:45 +00:00
1996-03-31 18:53:43 +00:00
1998-06-28 10:01:52 +00:00
1998-06-07 17:13:14 +00:00
1998-06-01 21:54:43 +00:00
1998-03-28 11:51:01 +00:00
1997-11-18 12:43:41 +00:00
1998-10-27 09:21:43 +00:00
1998-07-15 02:32:35 +00:00
1998-10-14 20:44:05 +00:00
1998-10-17 07:49:04 +00:00
1998-08-10 07:22:14 +00:00
1998-10-17 09:46:42 +00:00
1997-12-02 21:07:20 +00:00
1998-06-07 17:13:14 +00:00
1998-10-14 05:07:23 +00:00
1998-07-11 13:06:41 +00:00
1998-09-06 06:25:18 +00:00
1998-09-05 14:30:11 +00:00
1998-08-05 14:06:04 +00:00
1998-10-29 01:48:36 +00:00
1998-10-10 13:37:16 +00:00
1998-08-23 10:16:26 +00:00
1998-08-20 06:10:42 +00:00
1998-09-05 14:30:11 +00:00
1998-10-28 13:37:02 +00:00
1998-07-29 18:41:30 +00:00
1998-06-07 17:13:14 +00:00
1998-08-24 08:32:19 +00:00
1998-08-24 08:29:52 +00:00
1997-11-18 12:52:10 +00:00
1998-03-30 09:56:58 +00:00
1998-03-30 09:56:58 +00:00
1998-10-13 08:24:45 +00:00
1998-06-07 17:13:14 +00:00
1998-06-07 17:13:14 +00:00
1998-08-23 08:26:42 +00:00
1998-08-23 08:26:42 +00:00
1998-06-07 17:13:14 +00:00
1998-07-15 02:32:35 +00:00
1997-02-22 09:48:43 +00:00
1998-08-23 08:26:42 +00:00
1998-08-19 04:01:00 +00:00
1998-05-15 20:11:40 +00:00
1998-07-27 03:59:48 +00:00
1998-08-23 03:07:17 +00:00
1998-09-05 13:24:39 +00:00
1998-09-05 13:24:39 +00:00
1998-08-31 18:07:23 +00:00
1998-08-23 03:07:17 +00:00
1998-10-25 17:44:59 +00:00
1998-10-25 17:44:59 +00:00
1998-10-30 14:53:54 +00:00
1998-09-09 07:41:41 +00:00
1998-10-25 17:44:59 +00:00
1998-09-14 19:56:42 +00:00
1998-07-04 20:45:42 +00:00
1998-10-31 14:20:39 +00:00
1998-10-31 07:42:04 +00:00
1998-10-25 17:44:59 +00:00
1998-06-07 17:13:14 +00:00
1998-09-14 19:56:42 +00:00
1998-10-31 14:20:39 +00:00
1998-10-31 07:42:04 +00:00
1998-06-27 06:43:09 +00:00
1998-07-04 20:45:42 +00:00
1998-07-04 20:45:42 +00:00
1998-09-05 14:13:12 +00:00