Konstantin Belousov
6fd04eff66
With the removal of b_saveaddr in the r285819, b_data must be reset to
...
b_kvabase when the buffer is reclaimed. Otherwise, if b_data for the
mapped buffer was adjusted with the page-offset portion of b_offset,
nothing would re-adjust the b_data, which breaks buffer management
code which expects page-aligned b_data (see e.g. bpman_qenter(), which
skips partial pages).
Fix a minor issue with the GB_KVAALLOC requests, which could result in
returning the mapped buffer if the reused buffer is mapped and have
the right amount of KVA reserved.
Improve assertion in the vfs_buf_check_mapped() to catch unmapped
buffers which have their b_data incorrectly adjusted with offset.
Reported and tested by: pho (previous version)
Reviewed by: jeff (previous version)
Sponsored by: The FreeBSD Foundation
2015-07-25 15:00:14 +00:00
..
2014-10-09 05:33:25 +00:00
2015-01-23 21:07:08 +00:00
2015-01-08 21:46:28 +00:00
2015-06-10 10:48:12 +00:00
2015-06-24 15:52:26 +00:00
2015-07-14 18:24:05 +00:00
2015-06-10 10:48:12 +00:00
2014-09-04 21:31:25 +00:00
2015-07-16 14:30:11 +00:00
2015-07-11 15:21:37 +00:00
2014-04-05 16:54:47 +00:00
2015-02-05 01:43:21 +00:00
2015-07-20 09:37:42 +00:00
2015-05-21 16:43:26 +00:00
2015-03-22 13:11:56 +00:00
2015-05-22 17:05:21 +00:00
2014-06-28 03:56:17 +00:00
2015-06-26 04:14:05 +00:00
2015-02-20 20:49:00 +00:00
2015-07-16 15:26:37 +00:00
2014-05-29 01:42:22 +00:00
2015-01-07 01:01:39 +00:00
2014-10-23 18:23:50 +00:00
2015-03-16 19:29:19 +00:00
2015-07-18 09:02:50 +00:00
2015-07-18 09:02:50 +00:00
2015-07-18 09:02:50 +00:00
2015-03-16 19:18:45 +00:00
2014-10-28 12:00:39 +00:00
2015-07-11 15:21:37 +00:00
2015-04-22 14:38:58 +00:00
2015-07-21 14:39:34 +00:00
2015-07-19 08:52:35 +00:00
2015-07-18 09:02:50 +00:00
2015-05-22 11:09:41 +00:00
2014-06-28 03:56:17 +00:00
2015-07-04 06:54:15 +00:00
2015-01-22 11:12:42 +00:00
2015-01-10 06:48:35 +00:00
2015-07-19 22:24:33 +00:00
2015-03-16 00:10:03 +00:00
2015-05-09 20:08:36 +00:00
2015-04-01 12:42:26 +00:00
2015-06-30 17:00:45 +00:00
2014-05-02 07:57:40 +00:00
2015-07-19 22:14:09 +00:00
2015-07-12 18:38:17 +00:00
2015-07-11 15:21:37 +00:00
2014-06-28 03:56:17 +00:00
2015-04-21 10:55:53 +00:00
2014-06-28 03:56:17 +00:00
2015-04-14 14:22:34 +00:00
2014-06-28 03:56:17 +00:00
2015-07-18 09:02:50 +00:00
2015-02-15 08:44:30 +00:00
2015-07-16 14:30:11 +00:00
2015-06-14 08:33:14 +00:00
2015-04-29 10:23:02 +00:00
2015-07-16 14:30:11 +00:00
2014-12-13 21:00:10 +00:00
2015-07-19 22:26:02 +00:00
2014-02-22 01:41:45 +00:00
2015-05-19 16:23:47 +00:00
2015-07-18 09:02:50 +00:00
2015-01-22 11:12:42 +00:00
2015-07-19 22:24:33 +00:00
2015-05-29 13:24:17 +00:00
2015-06-10 10:48:12 +00:00
2015-07-06 16:07:21 +00:00
2015-07-08 18:42:08 +00:00
2015-07-20 10:20:04 +00:00
2015-07-16 14:30:11 +00:00
2015-01-11 20:48:29 +00:00
2015-04-14 00:02:39 +00:00
2015-03-28 21:21:40 +00:00
2014-02-13 22:24:36 +00:00
2015-04-22 14:38:58 +00:00
2015-04-22 14:38:58 +00:00
2014-03-14 06:29:43 +00:00
2015-07-09 07:20:15 +00:00
2015-05-24 14:44:06 +00:00
2015-04-29 10:23:02 +00:00
2015-07-10 08:54:12 +00:00
2015-06-16 20:19:00 +00:00
2013-10-27 21:39:16 +00:00
2015-06-30 17:00:45 +00:00
2015-04-01 12:42:26 +00:00
2014-06-26 13:57:44 +00:00
2014-12-12 09:37:18 +00:00
2014-02-10 19:59:46 +00:00
2014-10-21 07:31:21 +00:00
2015-01-20 03:54:30 +00:00
2014-12-21 05:07:11 +00:00
2015-07-11 16:22:48 +00:00
2015-02-06 16:09:01 +00:00
2014-10-21 07:31:21 +00:00
2014-12-13 21:00:10 +00:00
2014-07-11 13:58:48 +00:00
2014-12-30 02:39:47 +00:00
2014-06-28 03:56:17 +00:00
2015-04-30 15:48:48 +00:00
2014-02-10 19:59:46 +00:00
2015-06-09 21:39:38 +00:00
2014-11-26 14:10:00 +00:00
2014-07-16 22:18:19 +00:00
2015-03-17 21:00:31 +00:00
2014-08-11 15:06:07 +00:00
2015-01-26 16:26:28 +00:00
2015-01-22 11:12:42 +00:00
2015-07-21 22:56:46 +00:00
2015-06-10 10:43:59 +00:00
2015-05-26 01:40:33 +00:00
2014-11-01 17:05:15 +00:00
2015-07-13 22:52:11 +00:00
2015-05-21 15:16:18 +00:00
2015-06-10 10:48:12 +00:00
2013-08-30 07:37:45 +00:00
2015-05-22 17:05:21 +00:00
2015-07-24 15:13:21 +00:00
2015-03-16 00:10:03 +00:00
2015-07-09 09:22:21 +00:00
2015-07-13 17:45:22 +00:00
2015-07-18 09:02:50 +00:00
2015-07-18 09:02:50 +00:00
2014-11-12 09:57:15 +00:00
2015-07-11 15:22:11 +00:00
2015-07-11 15:22:11 +00:00
2015-07-11 15:22:11 +00:00
2015-04-29 10:23:02 +00:00
2015-04-29 10:23:02 +00:00
2015-07-02 19:14:30 +00:00
2015-06-10 10:48:12 +00:00
2015-07-06 18:53:56 +00:00
2015-02-17 23:54:06 +00:00
2014-07-26 19:27:34 +00:00
2015-07-21 09:57:13 +00:00
2015-05-22 17:05:21 +00:00
2015-01-09 12:08:51 +00:00
2015-06-30 17:19:58 +00:00
2015-03-17 14:16:50 +00:00
2015-04-11 15:40:28 +00:00
2015-07-23 23:18:03 +00:00
2015-06-12 11:32:20 +00:00
2015-06-10 10:48:12 +00:00
2015-07-24 22:13:39 +00:00
2015-06-12 11:32:20 +00:00
2015-07-14 02:00:50 +00:00
2015-06-16 13:09:18 +00:00
2015-07-06 14:09:00 +00:00
2015-07-25 15:00:14 +00:00
2015-07-16 13:57:05 +00:00
2015-07-23 19:13:41 +00:00
2015-07-04 15:46:39 +00:00
2014-11-06 12:19:39 +00:00
2015-06-16 13:09:18 +00:00
2015-07-16 13:57:05 +00:00
2015-07-04 06:54:15 +00:00
2015-07-09 17:17:26 +00:00
2015-07-02 14:31:47 +00:00
2014-11-13 18:01:51 +00:00
2015-07-16 13:57:05 +00:00
2015-07-12 00:26:22 +00:00
2015-07-05 22:37:33 +00:00
2015-03-30 22:49:26 +00:00