block: kill off REQ_UNPLUG

With the plugging now being explicitly controlled by the
submitter, callers need not pass down unplugging hints
to the block layer. If they want to unplug, it's because they
manually plugged on their own - in which case, they should just
unplug at will.

Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
Jens Axboe 2011-03-09 11:56:30 +01:00
commit 721a9602e6
24 changed files with 43 additions and 75 deletions

View file

@ -1290,7 +1290,7 @@ get_rq:
}
plug = current->plug;
if (plug && !sync) {
if (plug) {
if (!plug->should_sort && !list_empty(&plug->list)) {
struct request *__rq;