mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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:
parent
cf15900e12
commit
721a9602e6
24 changed files with 43 additions and 75 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue