Christoph Hellwig
c53c6d6a68
scatterlist: allow chaining to preallocated chunks
...
Blk-mq drivers usually preallocate their S/G list as part of the request,
but if we want to support the very large S/G lists currently supported by
the SCSI code that would tie up a lot of memory in the preallocated request
pool. Add support to the scatterlist code so that it can initialize a
S/G list that uses a preallocated first chunks and dynamically allocated
additional chunks. That way the scsi-mq code can preallocate a first
page worth of S/G entries as part of the request, and dynamically extend
the S/G list when needed.
Signed-off-by: Christoph Hellwig <hch@lst.de >
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com >
Reviewed-by: Hannes Reinecke <hare@suse.de >
Reviewed-by: Webb Scales <webbnh@hp.com >
Acked-by: Jens Axboe <axboe@kernel.dk >
Tested-by: Bart Van Assche <bvanassche@acm.org >
Tested-by: Robert Elliott <elliott@hp.com >
2014-07-25 17:16:21 -04:00
..
2014-06-10 10:28:45 -07:00
2014-06-12 23:06:23 -07:00
2014-06-10 16:53:25 -07:00
2014-06-12 12:42:32 -07:00
2014-05-29 00:05:59 -07:00
2014-06-04 23:13:41 -07:00
2014-06-10 15:34:47 -07:00
2014-07-02 18:29:23 -07:00
2014-05-27 11:53:06 -07:00
2014-05-22 08:33:30 -04:00
2014-06-11 08:35:34 -07:00
2014-06-14 14:43:23 -07:00
2014-06-16 16:05:56 +01:00
2014-06-04 16:54:05 -07:00
2014-06-12 14:27:40 -07:00
2014-06-10 15:02:42 -07:00
2014-06-12 14:27:40 -07:00
2014-06-03 23:12:20 +02:00
2014-05-27 01:29:01 +02:00
2014-06-24 16:22:24 -06:00
2014-06-12 10:30:18 -07:00
2014-06-17 22:12:35 -07:00
2014-06-24 16:22:24 -06:00
2014-06-04 16:54:04 -07:00
2014-06-04 16:54:02 -07:00
2014-06-10 13:57:22 -07:00
2014-06-09 14:56:07 -07:00
2014-06-07 20:27:30 -07:00
2014-06-04 16:54:06 -07:00
2014-06-12 19:18:49 -07:00
2014-05-27 13:56:21 -07:00
2014-05-28 13:37:21 -07:00
2014-06-06 16:08:18 -07:00
2014-06-05 23:32:29 +02:00
2014-06-09 18:10:34 -07:00
2014-06-12 14:27:40 -07:00
2014-06-04 16:54:08 -07:00
2014-05-24 22:33:41 +09:00
2014-06-04 09:46:34 -04:00
2014-06-05 15:57:04 -07:00
2014-06-04 16:53:57 -07:00
2014-06-05 15:57:04 -07:00
2014-06-10 10:28:45 -07:00
2014-06-22 16:34:11 -06:00
2014-06-03 02:42:44 +01:00
2014-06-04 13:34:30 +09:00
2014-06-11 00:13:16 -07:00
2014-05-26 14:33:10 +02:00
2014-06-21 16:40:30 -10:00
2014-06-09 16:39:15 -07:00
2014-06-04 16:54:10 -07:00
2014-06-04 13:09:43 +02:00
2014-06-04 16:54:12 -07:00
2014-06-06 16:08:13 -07:00
2014-05-28 16:22:47 +02:00
2014-06-10 23:50:47 -07:00
2014-05-23 15:04:02 -04:00
2014-06-02 16:05:24 -07:00
2014-06-02 14:56:01 -07:00
2014-05-24 00:32:30 -04:00
2014-05-27 14:26:31 -07:00
2014-06-12 13:46:37 +02:00
2014-06-04 16:54:08 -07:00
2014-07-10 11:38:23 -07:00
2014-06-10 10:05:36 -07:00
2014-06-06 16:08:17 -07:00
2014-06-12 19:18:49 -07:00
2014-06-11 12:23:17 -07:00
2014-06-12 19:42:15 -07:00
2014-06-06 16:08:07 -07:00
2014-05-27 17:38:11 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:54:08 -07:00
2014-06-04 16:53:59 -07:00
2014-06-04 16:53:51 -07:00
2014-06-04 16:54:06 -07:00
2014-05-27 17:43:11 -07:00
2014-06-05 08:05:29 -07:00
2014-06-05 08:05:29 -07:00
2014-06-04 16:53:58 -07:00
2014-06-04 16:54:09 -07:00
2014-07-17 22:07:37 +02:00
2014-06-15 01:00:49 -07:00
2014-06-15 01:00:49 -07:00
2014-06-03 23:32:12 -07:00
2014-06-06 19:22:49 -04:00
2014-06-12 10:30:18 -07:00
2014-05-29 11:11:45 -04:00
2014-05-29 11:11:48 -04:00
2014-05-29 11:11:48 -04:00
2014-06-23 16:47:44 -07:00
2014-06-13 10:43:34 -04:00
2014-06-05 15:57:04 -07:00
2014-05-21 11:14:46 +02:00
2014-05-23 11:40:25 +09:00
2014-07-02 00:24:14 -07:00
2014-06-04 04:45:46 -05:00
2014-06-04 08:50:34 -07:00
2014-06-04 10:02:38 -07:00
2014-06-10 14:35:22 -07:00
2014-06-10 14:35:22 -07:00
2014-06-23 16:47:43 -07:00
2014-06-04 16:54:09 -07:00
2014-06-04 16:54:10 -07:00
2014-06-02 16:18:48 -06:00
2014-07-01 16:45:22 -04:00
2014-06-04 12:50:47 -04:00
2014-06-09 14:56:07 -07:00
2014-06-06 07:56:22 +02:00
2014-06-05 15:38:57 -07:00
2014-06-21 15:50:00 -07:00
2014-06-04 16:54:07 -07:00
2014-05-30 13:45:25 +02:00
2014-06-04 16:54:17 -07:00
2014-06-04 16:54:21 -07:00
2014-07-03 17:27:23 -07:00
2014-05-21 11:19:36 +02:00
2014-06-10 09:46:00 -04:00
2014-06-04 16:54:12 -07:00
2014-06-05 10:38:45 +02:00
2014-07-25 17:16:21 -04:00
2014-07-02 08:33:48 +02:00
2014-06-10 10:05:36 -07:00
2014-06-06 16:08:14 -07:00
2014-06-06 16:08:12 -07:00
2014-06-15 01:00:50 -07:00
2014-06-04 16:54:08 -07:00
2014-06-06 16:08:18 -07:00
2014-06-27 11:47:58 -07:00
2014-06-12 00:21:11 -04:00
2014-05-23 11:23:27 +09:00
2014-06-16 23:29:39 +02:00
2014-06-04 16:54:11 -07:00
2014-06-04 16:54:07 -07:00
2014-06-04 16:53:55 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:54:03 -07:00
2014-05-27 14:29:56 -07:00
2014-05-22 12:04:49 -04:00
2014-06-04 16:53:56 -07:00
2014-06-04 16:53:59 -07:00
2014-05-23 16:28:53 -04:00
2014-06-28 09:43:58 -07:00
2014-06-12 19:18:49 -07:00
2014-06-30 22:47:18 -07:00
2014-05-27 16:11:49 -07:00
2014-05-30 11:35:54 -06:00
2014-06-02 12:41:33 -07:00
2014-06-04 16:53:57 -07:00
2014-06-04 16:53:57 -07:00
2014-05-22 11:35:51 -04:00
2014-06-04 16:54:13 -07:00