Konstantin Belousov
8d4a7be84d
Reorganize the code in bdwrite() which handles move of dirtiness
...
from the buffer pages to buffer. Combine the code to set buffer
dirty range (previously in vfs_setdirty()) and to clean the pages
(vfs_clean_pages()) into new function vfs_clean_pages_dirty_buf(). Now
the vm object lock is acquired only once.
Drain the VPO_BUSY bit of the buffer pages before setting valid
and clean bits in vfs_clean_pages_dirty_buf() with new helper
vfs_drain_busy_pages(). pmap_clear_modify() asserts that page is not
busy.
In vfs_busy_pages(), move the wait for draining of VPO_BUSY before
the dirtyness handling, to follow the structure of
vfs_clean_pages_dirty_buf().
Reported and tested by: pho
Suggested and reviewed by: alc
MFC after: 2 weeks
2010-06-08 17:54:28 +00:00
..
2009-10-15 14:54:35 +00:00
2010-05-23 18:32:02 +00:00
2010-04-30 03:13:24 +00:00
2008-08-28 15:23:18 +00:00
2010-05-23 18:32:02 +00:00
2009-10-27 11:01:15 +00:00
2009-06-16 15:13:45 +00:00
2010-04-26 13:48:22 +00:00
2010-05-24 11:40:49 +00:00
2009-02-26 13:00:13 +00:00
2010-05-06 19:22:50 +00:00
2009-08-24 10:53:30 +00:00
2009-10-27 10:47:58 +00:00
2010-01-08 22:58:50 +00:00
2009-10-26 18:32:06 +00:00
2010-04-23 14:32:58 +00:00
2010-01-10 22:34:18 +00:00
2010-03-30 18:31:55 +00:00
2010-05-23 18:32:02 +00:00
2009-12-19 18:42:12 +00:00
2010-01-07 21:01:37 +00:00
2009-09-01 11:41:51 +00:00
2010-04-30 03:10:53 +00:00
2009-11-03 16:46:52 +00:00
2010-01-27 09:59:08 +00:00
2010-06-04 14:38:24 +00:00
2010-05-21 17:14:36 +00:00
2010-04-14 21:42:29 +00:00
2009-10-23 15:14:54 +00:00
2009-11-17 21:56:12 +00:00
2010-01-07 01:24:09 +00:00
2009-06-25 18:54:56 +00:00
2009-05-26 20:28:22 +00:00
2009-06-05 09:16:52 +00:00
2009-07-12 23:31:20 +00:00
2010-01-12 18:20:20 +00:00
2010-03-11 14:49:06 +00:00
2008-10-23 20:26:15 +00:00
2010-05-11 18:24:22 +00:00
2010-04-29 09:18:36 +00:00
2009-05-29 10:52:37 +00:00
2008-09-22 10:37:02 +00:00
2009-08-15 23:07:43 +00:00
2009-06-05 14:55:22 +00:00
2010-05-27 08:10:12 +00:00
2010-01-15 07:18:46 +00:00
2010-05-24 10:23:49 +00:00
2009-12-25 21:14:05 +00:00
2010-03-24 19:21:26 +00:00
2010-04-20 12:22:06 +00:00
2010-05-23 18:32:02 +00:00
2009-06-25 01:33:51 +00:00
2010-06-08 16:17:47 +00:00
2009-07-14 22:52:46 +00:00
2010-03-19 10:56:30 +00:00
2009-08-13 10:26:34 +00:00
2009-04-11 22:01:40 +00:00
2010-03-11 14:49:06 +00:00
2010-05-24 10:23:49 +00:00
2009-04-10 10:52:19 +00:00
2009-12-14 12:23:46 +00:00
2010-03-11 14:49:06 +00:00
2009-08-23 20:40:19 +00:00
2009-05-29 21:27:12 +00:00
2010-03-03 21:46:51 +00:00
2010-02-18 05:49:52 +00:00
2009-07-14 22:48:30 +00:00
2009-06-11 17:05:45 +00:00
2008-12-01 14:34:42 +00:00
2010-02-08 10:02:01 +00:00
2010-06-02 09:59:05 +00:00
2010-06-03 16:02:11 +00:00
2010-06-03 16:02:11 +00:00
2009-10-20 16:36:51 +00:00
2010-06-03 13:41:55 +00:00
2010-06-03 13:43:58 +00:00
2009-02-03 07:52:07 +00:00
2008-10-23 15:53:51 +00:00
2010-05-05 20:39:02 +00:00
2010-06-07 18:47:53 +00:00
2009-12-29 21:51:28 +00:00
2009-02-13 11:36:32 +00:00
2010-03-19 19:51:03 +00:00
2010-03-07 22:37:35 +00:00
2010-02-21 19:53:33 +00:00
2009-08-13 17:09:45 +00:00
2009-02-03 07:54:42 +00:00
2009-03-15 06:41:47 +00:00
2009-11-03 21:06:19 +00:00
2010-03-02 23:57:42 +00:00
2010-05-21 17:17:56 +00:00
2009-11-03 21:06:19 +00:00
2009-02-03 07:52:36 +00:00
2009-05-19 14:08:21 +00:00
2009-03-23 21:16:21 +00:00
2008-08-09 10:26:21 +00:00
2009-08-21 02:59:07 +00:00
2010-01-09 01:46:38 +00:00
2010-05-16 19:43:48 +00:00
2009-06-24 12:06:15 +00:00
2010-06-01 16:04:01 +00:00
2010-05-26 15:39:43 +00:00
2010-01-09 01:46:38 +00:00
2010-05-08 20:34:01 +00:00
2010-05-11 18:24:22 +00:00
2010-05-21 10:36:29 +00:00
2010-05-08 23:01:47 +00:00
2010-05-25 21:32:37 +00:00
2009-08-01 19:26:27 +00:00
2009-10-27 11:01:15 +00:00
2010-02-08 10:02:01 +00:00
2009-10-27 11:01:15 +00:00
2010-03-19 11:01:51 +00:00
2010-03-19 11:04:42 +00:00
2010-03-19 11:04:42 +00:00
2010-03-19 11:04:42 +00:00
2010-01-04 20:59:52 +00:00
2009-05-17 16:17:48 +00:00
2010-02-07 15:42:15 +00:00
2010-02-07 15:42:15 +00:00
2010-04-08 08:58:18 +00:00
2009-10-17 08:59:41 +00:00
2010-01-04 20:59:52 +00:00
2009-12-28 22:56:30 +00:00
2010-05-06 17:43:41 +00:00
2009-05-26 09:19:21 +00:00
2009-08-24 10:03:41 +00:00
2009-06-05 14:55:22 +00:00
2010-05-01 18:34:50 +00:00
2010-03-28 13:13:22 +00:00
2010-06-02 09:59:05 +00:00
2010-06-02 15:46:37 +00:00
2009-06-22 21:46:40 +00:00
2010-05-27 15:27:31 +00:00
2010-05-06 17:43:41 +00:00
2009-10-05 22:23:12 +00:00
2010-06-03 13:45:27 +00:00
2010-03-19 11:11:34 +00:00
2010-06-08 17:54:28 +00:00
2010-04-20 10:19:27 +00:00
2009-06-30 19:39:17 +00:00
2010-05-12 21:24:46 +00:00
2009-09-28 18:07:16 +00:00
2009-06-27 13:58:44 +00:00
2009-02-06 14:51:32 +00:00
2010-03-26 11:33:12 +00:00
2010-02-18 22:22:45 +00:00
2010-06-03 10:20:08 +00:00
2010-04-13 08:52:20 +00:00
2010-05-06 18:52:41 +00:00
2010-05-12 21:24:46 +00:00