Files
kernel_xiaomi_sm8250/include/linux
Jens Axboe 05f1dd5315 block: add queue flag for disabling SG merging
If devices are not SG starved, we waste a lot of time potentially
collapsing SG segments. Enough that 1.5% of the CPU time goes
to this, at only 400K IOPS. Add a queue flag, QUEUE_FLAG_NO_SG_MERGE,
which just returns the number of vectors in a bio instead of looping
over all segments and checking for collapsible ones.

Add a BLK_MQ_F_SG_MERGE flag so that drivers can opt-in on the sg
merging, if they so desire.

Signed-off-by: Jens Axboe <axboe@fb.com>
2014-05-29 09:53:32 -06:00
..
2014-04-03 16:20:58 -07:00
2014-04-01 17:08:43 +02:00
2014-04-01 23:19:14 -04:00
2014-04-07 16:36:07 -07:00
2014-04-03 16:20:50 -07:00
2014-04-01 23:19:08 -04:00
2014-04-01 23:19:10 -04:00
2014-04-07 10:59:19 -07:00
2014-04-03 16:21:04 -07:00
2014-04-01 17:08:43 +02:00
2014-04-07 16:35:53 -07:00
2014-04-07 11:24:06 -07:00