summaryrefslogtreecommitdiffstats
path: root/fs/bio.c
diff options
context:
space:
mode:
authorShaohua Li <shaohua.li@intel.com>2011-11-16 09:21:50 +0100
committerJens Axboe <axboe@kernel.dk>2011-11-16 09:21:50 +0100
commit3540d5e89b2ac268fcfc9b07a50a9ba4acc2e5e5 (patch)
tree10bb06165130e4ffe90bd990fbba497be8fb4e8a /fs/bio.c
parentcciss: auto engage SCSI mid layer at driver load time (diff)
downloadlinux-3540d5e89b2ac268fcfc9b07a50a9ba4acc2e5e5.tar.xz
linux-3540d5e89b2ac268fcfc9b07a50a9ba4acc2e5e5.zip
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 'fs/bio.c')
0 files changed, 0 insertions, 0 deletions