commit | 0cfbcafcae8b7364b5fa96c2b26ccde7a3a296a9 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shli@kernel.org> | Fri Dec 14 11:15:51 2012 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Dec 14 20:46:04 2012 +0100 |
tree | dc6601c000fc21c80db3f6861ac117359649429a | |
parent | 8dd2cb7e880d2f77fba53b523c99133ad5054cfd [diff] |
block: add plug for blkdev_issue_discard Last post of this patch appears lost, so I resend this. Now discard merge works, add plug for blkdev_issue_discard. This will help discard request merge especially for raid0 case. In raid0, a big discard request is split to small requests, and if correct plug is added, such small requests can be merged in low layer. Signed-off-by: Shaohua Li <shli@fusionio.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>