Warner Losh
0fd4cd405b
nvme: Use controller's page size instead of PAGE_SIZE to create qpair
...
When constructing qpair, use the controller's notion of page size rather
than the host's PAGE_SIZE. Currently, these are both 4k, but the arm 16k
page size support requires decoupling.
There's a "hidden" PAGE_SIZE in btoc, so we must change btoc(x) to
howmany(x, ctrlr->page_size) to properly count the number of pages (in
the drive's world view) are needed for various calculations.
With these changes, we the nvme driver operates at production level load
for both host 4k and host 16k page size.
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D34873
2022-04-15 14:46:19 -06:00
..
2022-04-08 17:25:13 -07:00
2021-06-21 15:13:13 -03:00
2021-12-26 19:37:08 -05:00
2022-04-12 10:03:26 +02:00
2020-09-01 21:34:24 +00:00
2020-09-01 21:34:41 +00:00
2020-09-01 21:34:58 +00:00
2020-09-01 21:35:14 +00:00
2022-04-08 17:30:14 -07:00
2022-03-04 20:55:23 -05:00
2022-02-26 10:33:31 -07:00
2022-04-09 11:06:18 +02:00
2021-12-10 11:48:42 +00:00
2020-09-01 21:37:53 +00:00
2020-09-01 21:38:06 +00:00
2020-09-01 21:38:18 +00:00
2021-11-24 16:25:50 +00:00
2020-09-01 21:39:19 +00:00
2020-09-01 21:39:19 +00:00
2021-12-13 13:36:50 +02:00
2020-09-01 21:39:19 +00:00
2020-12-12 19:34:12 +00:00
2021-12-25 21:03:54 -05:00
2021-12-13 08:09:15 -08:00
2021-12-10 11:45:36 +00:00
2022-04-13 16:08:23 -07:00
2022-04-09 10:55:00 +02:00
2022-04-06 16:45:28 -07:00
2022-04-11 09:52:32 -04:00
2020-10-02 18:18:01 +00:00
2022-04-05 13:52:54 -06:00
2022-03-24 10:20:51 +00:00
2022-03-28 19:36:18 +02:00
2021-12-03 23:29:51 -07:00
2022-04-13 16:08:20 -07:00
2022-02-28 10:14:34 -07:00
2022-04-05 13:52:55 -06:00
2022-04-04 22:29:23 -06:00
2022-04-06 16:45:28 -07:00
2022-04-12 19:51:17 -03:00
2021-12-09 17:04:45 -07:00
2022-04-05 21:42:05 -06:00
2022-04-12 10:06:09 -07:00
2022-04-08 18:31:29 -07:00
2020-09-01 22:10:24 +00:00
2020-09-01 22:10:34 +00:00
2022-02-26 11:07:05 -07:00
2021-09-24 23:31:51 -04:00
2022-04-12 10:06:09 -07:00
2020-09-01 22:11:22 +00:00
2022-02-21 11:08:23 +01:00
2022-01-10 12:15:12 -08:00
2022-04-14 15:49:58 -07:00
2022-04-04 22:29:25 -06:00
2022-04-13 16:08:23 -07:00
2022-04-14 09:01:29 +02:00
2022-02-22 10:01:56 +01:00
2022-01-11 15:56:07 +02:00
2022-04-13 09:17:32 -07:00
2021-09-07 11:19:29 -04:00
2022-04-09 10:50:49 +02:00
2022-04-02 14:02:46 +02:00
2021-12-09 16:37:26 +00:00
2022-04-12 14:58:59 -07:00
2021-10-02 10:43:41 +02:00
2022-03-28 19:30:10 +02:00
2021-12-26 06:16:02 -08:00
2022-04-07 17:01:29 -07:00
2022-04-04 22:29:28 -06:00
2022-03-10 12:11:32 +01:00
2020-07-01 00:33:16 +00:00
2022-02-03 09:41:53 -05:00
2021-12-20 11:24:21 +00:00
2022-04-13 16:08:22 -07:00
2020-11-28 22:34:33 +00:00
2021-12-09 21:16:16 -05:00
2021-07-26 16:41:05 -04:00
2020-07-26 18:15:16 +00:00
2022-04-08 17:25:14 -07:00
2020-06-10 21:38:35 +00:00
2022-04-04 22:29:31 -06:00
2021-04-12 14:28:43 -07:00
2021-12-09 20:24:29 -05:00
2021-12-09 20:35:21 -05:00
2021-12-04 11:07:04 -07:00
2021-05-21 08:53:59 +01:00
2021-05-21 08:53:59 +01:00
2022-04-13 16:08:22 -07:00
2022-04-13 16:08:20 -07:00
2022-04-06 16:45:28 -07:00
2021-11-25 00:45:12 -07:00
2022-04-09 09:25:47 +02:00
2022-03-03 02:35:23 +03:00
2022-04-12 10:06:04 -07:00
2021-08-26 12:04:28 +02:00
2021-12-16 13:23:30 +00:00
2022-02-26 18:29:08 -07:00
2022-04-13 16:08:23 -07:00
2021-04-14 13:15:19 +03:00
2022-04-05 21:42:05 -06:00
2021-12-09 20:21:16 +00:00
2021-12-31 01:50:30 -06:00
2022-04-05 21:42:05 -06:00
2022-02-26 10:35:51 -07:00
2022-04-09 11:01:43 +02:00
2022-04-03 16:07:20 +02:00
2022-03-10 15:49:53 -08:00
2022-04-12 14:58:59 -07:00
2020-11-20 01:15:48 +00:00
2022-04-06 16:45:27 -07:00
2022-04-09 11:04:23 +02:00
2022-04-06 16:45:27 -07:00
2022-04-13 08:59:21 -07:00
2022-04-12 14:51:44 -07:00
2020-08-31 15:03:23 +00:00
2022-04-02 10:54:43 +02:00
2022-03-24 12:56:29 -04:00
2021-08-08 18:29:48 -04:00
2020-09-18 16:48:08 +00:00
2021-11-16 10:27:27 -08:00
2022-04-06 16:45:29 -07:00
2022-04-05 21:42:05 -06:00
2022-02-15 07:27:42 +00:00
2022-03-24 10:20:51 +00:00
2022-04-05 15:35:05 -03:00
2022-03-24 07:13:45 +01:00
2021-11-23 20:56:53 -05:00
2022-04-04 22:29:41 -06:00
2022-04-03 12:28:37 -03:00
2021-12-09 17:04:45 -07:00
2022-04-08 17:25:13 -07:00
2022-04-13 16:08:21 -07:00
2022-03-10 12:11:32 +01:00
2022-03-30 20:14:07 -04:00
2022-03-28 20:35:47 -04:00
2022-04-09 14:10:05 +02:00
2022-04-05 08:38:15 -06:00
2022-04-05 21:42:06 -06:00
2022-04-07 17:01:26 -07:00
2022-03-04 20:55:23 -05:00
2022-04-05 21:42:06 -06:00
2022-04-07 17:01:26 -07:00
2020-09-01 22:05:21 +00:00
2022-04-13 16:08:22 -07:00
2022-04-08 17:30:14 -07:00
2021-12-10 11:53:38 +00:00
2020-09-01 22:04:24 +00:00
2021-08-28 19:24:27 +02:00
2021-01-04 13:18:47 +00:00
2021-09-27 12:13:03 -07:00
2022-04-15 12:06:05 -03:00
2021-12-06 10:23:40 -07:00
2022-04-13 16:08:20 -07:00
2022-04-15 14:46:19 -06:00
2020-09-01 22:02:55 +00:00
2022-04-07 17:01:27 -07:00
2022-04-07 17:01:27 -07:00
2022-03-03 07:08:32 -06:00
2022-04-07 17:01:27 -07:00
2021-06-22 20:52:06 -06:00
2021-08-26 11:00:39 +02:00
2020-09-01 22:01:17 +00:00
2021-12-14 15:27:47 -07:00
2021-12-25 21:51:48 -05:00
2020-09-01 22:00:30 +00:00
2022-04-08 17:25:15 -07:00
2021-08-14 08:55:58 +02:00
2022-04-12 14:58:58 -07:00
2022-04-13 16:08:20 -07:00
2022-04-06 16:45:27 -07:00
2020-09-01 21:58:40 +00:00
2022-03-18 22:04:32 -05:00
2020-09-01 21:58:12 +00:00
2021-06-22 20:52:06 -06:00
2021-06-22 20:52:06 -06:00
2021-12-17 13:10:22 -05:00
2021-12-27 13:02:30 -08:00
2021-12-27 18:25:32 -08:00
2021-12-27 13:02:31 -08:00
2022-02-03 21:26:14 -08:00
2021-12-27 15:27:29 -08:00
2021-11-04 09:02:27 -07:00
2021-12-27 15:56:28 -08:00
2021-12-23 10:41:41 -08:00
2022-04-09 09:29:35 +02:00
2022-04-07 17:01:28 -07:00
2022-04-07 17:01:28 -07:00
2022-04-07 17:01:28 -07:00
2021-12-14 14:24:21 +00:00
2022-04-12 10:05:45 -07:00
2021-12-23 20:19:31 +00:00
2020-10-05 19:58:55 +00:00
2020-09-01 21:55:52 +00:00
2021-09-03 18:10:06 -04:00
2022-03-25 15:24:49 -04:00
2022-04-07 17:01:28 -07:00
2022-04-02 14:03:17 +02:00
2021-12-18 13:29:32 +00:00
2022-04-08 17:25:14 -07:00
2020-12-26 13:48:06 +01:00
2022-04-13 16:08:20 -07:00
2021-12-09 17:04:45 -07:00
2021-05-25 16:59:18 -07:00
2022-04-13 16:08:20 -07:00
2022-03-04 20:55:23 -05:00
2022-04-04 22:29:57 -06:00
2021-12-14 14:08:17 +00:00
2022-04-02 15:21:45 +02:00
2021-04-07 15:05:49 -05:00
2021-06-22 20:52:06 -06:00
2022-04-12 17:11:28 -07:00
2022-04-12 14:58:58 -07:00
2020-08-28 16:40:33 +00:00
2021-06-22 20:52:06 -06:00
2022-03-31 15:54:56 -04:00
2020-08-30 07:34:32 +00:00
2021-06-22 20:52:06 -06:00
2022-04-09 09:23:57 +02:00
2022-04-13 12:35:55 +03:00
2020-09-01 21:51:38 +00:00
2022-04-08 17:25:13 -07:00
2021-12-03 15:31:14 -07:00
2022-04-07 17:01:29 -07:00
2022-04-02 10:48:37 +02:00
2022-02-26 11:40:17 -07:00
2022-01-09 14:28:08 -09:00
2022-04-12 14:58:57 -07:00
2022-04-13 16:08:20 -07:00
2021-11-25 22:50:42 +00:00
2020-09-01 21:49:49 +00:00
2020-09-01 21:49:31 +00:00
2022-04-02 10:21:37 +02:00
2021-12-09 18:09:53 +00:00
2022-04-13 16:08:21 -07:00
2020-09-01 21:48:55 +00:00
2021-09-02 22:25:16 -04:00
2022-04-07 17:01:29 -07:00
2022-04-13 16:08:23 -07:00
2021-08-28 19:24:27 +02:00
2022-03-17 14:30:39 +01:00
2020-09-01 21:47:20 +00:00
2022-01-07 09:23:00 -07:00
2021-09-10 10:03:51 -04:00
2020-09-07 15:35:40 +00:00
2022-04-13 16:08:23 -07:00
2022-04-12 10:03:26 +02:00
2022-04-12 14:58:57 -07:00
2022-04-04 22:30:45 -06:00