From: Shaohua Li Date: Wed, 16 Nov 2011 08:21:50 +0000 (+0100) Subject: block: avoid unnecessary plug list flush X-Git-Tag: v3.2-rc3~39^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3540d5e89b2ac268fcfc9b07a50a9ba4acc2e5e5;p=pandora-kernel.git 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 Reviewed-by: Namhyung Kim Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed