diff options
author | Shaohua Li <shaohua.li@intel.com> | 2011-11-16 09:21:50 +0100 |
---|---|---|
committer | Ziyan <jaraidaniel@gmail.com> | 2016-01-08 10:36:45 +0100 |
commit | 1b2a336d17ecacc4367ad724832650f8fc6a1ed4 (patch) | |
tree | 6aed702a3ea6da1678a463728cb90eb6aad98b4a /include | |
parent | 4a6794bae5c823a5e1a97ae91cebfcb833766159 (diff) | |
download | kernel_samsung_tuna-1b2a336d17ecacc4367ad724832650f8fc6a1ed4.zip kernel_samsung_tuna-1b2a336d17ecacc4367ad724832650f8fc6a1ed4.tar.gz kernel_samsung_tuna-1b2a336d17ecacc4367ad724832650f8fc6a1ed4.tar.bz2 |
block: avoid unnecessary plug list flush
get_request_wait() could sleep and flush the plug list. If the list is
already flushed, don't flush again.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions