commit | 3540d5e89b2ac268fcfc9b07a50a9ba4acc2e5e5 | [log] [tgz] |
---|---|---|
author | Shaohua Li <shaohua.li@intel.com> | Wed Nov 16 09:21:50 2011 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 16 09:21:50 2011 +0100 |
tree | 10bb06165130e4ffe90bd990fbba497be8fb4e8a | |
parent | 0007a4c90a11a5371c8b3f80b220fa402a399189 [diff] |
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>